#2428AD#2428AD

#2428AD is a dark, highly saturated blue. Relative luminance 0.049; OKLCH L 38.5% C 0.203 H 270.6°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#2428AD
RGBrgb(36, 40, 173)
HSLhsl(238, 66%, 41%)
HSVhsv(238, 79%, 68%)
CMYKcmyk(79.2%, 76.9%, 0%, 32.2%)
CIE-LABlab(26.47, 45.05, -70.01)
CIE-LCHlch(26.47, 83.25, 302.76°)
OKLaboklab(38.53% 0.0022 -0.2027)
OKLCHoklch(38.53% 0.203 270.6)
XYZxyz(9.0266, 4.9088, 39.9988)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2428AD #ADA924
analogous
#246CAD #2428AD #6424AD
triadic
#2428AD #AD2428 #28AD24
tetradic
#2428AD #AD246C #ADA924 #24AD64
square
#2428AD #AD246C #ADA924 #24AD64
split-complementary
#2428AD #AD6424 #6CAD24
monochromatic
#0F1148 #191C7A #2428AD #393DD6 #6B6FE0

Accessibility & contrast

On white

10.60
#2428AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2428AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2428AD
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2428AD#FFFFFF#000000##FFFFFF
##2428AD1.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B1
Deuteranopia (green-blind)
#0038AB
Tritanopia (blue-blind)
#005069
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2428ad;
/* rgb */ color: rgb(36, 40, 173);
/* oklch */ color: oklch(38.5% 0.203 270.6);
Tailwind
colors: {
  custom: {
    50: '#7864c7',
    500: '#2428ad',
    950: '#000000',
  },
}
SCSS
$custom: #2428ad;
$custom-light: #7864c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2428ad",
  "rgb": {
    "r": 36,
    "g": 40,
    "b": 173
  },
  "hsl": {
    "h": 238.248,
    "s": 65.55,
    "l": 40.98
  },
  "oklch": {
    "l": 0.38532,
    "c": 0.20275,
    "h": 270.6
  },
  "luminance": 0.0491
}

Semantic roles & 50–950 ramp

primary
#2428AD
secondary
#C6C466
accent
#E43FE9
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2428AD

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#2428AD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva