#2428AC#2428AC

#2428AC is a dark, highly saturated blue. Relative luminance 0.049; OKLCH L 38.4% C 0.202 H 270.7°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#2428AC
RGBrgb(36, 40, 172)
HSLhsl(238, 65%, 41%)
HSVhsv(238, 79%, 67%)
CMYKcmyk(79.1%, 76.7%, 0%, 32.5%)
CIE-LABlab(26.36, 44.71, -69.59)
CIE-LCHlch(26.36, 82.72, 302.72°)
OKLaboklab(38.42% 0.0024 -0.2015)
OKLCHoklch(38.42% 0.202 270.7)
XYZxyz(8.9302, 4.8702, 39.4911)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2428AC #ACA824
analogous
#246CAC #2428AC #6424AC
triadic
#2428AC #AC2428 #28AC24
tetradic
#2428AC #AC246C #ACA824 #24AC64
square
#2428AC #AC246C #ACA824 #24AC64
split-complementary
#2428AC #AC6424 #6CAC24
monochromatic
#0F1047 #191C79 #2428AC #383DD5 #6A6EE0

Accessibility & contrast

On white

10.64
#2428AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2428AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2428AC
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2428AC#FFFFFF#000000##FFFFFF
##2428AC1.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B0
Deuteranopia (green-blind)
#0037AA
Tritanopia (blue-blind)
#005069
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2428ac;
/* rgb */ color: rgb(36, 40, 172);
/* oklch */ color: oklch(38.4% 0.202 270.7);
Tailwind
colors: {
  custom: {
    50: '#7864c6',
    500: '#2428ac',
    950: '#000000',
  },
}
SCSS
$custom: #2428ac;
$custom-light: #7864c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2428ac",
  "rgb": {
    "r": 36,
    "g": 40,
    "b": 172
  },
  "hsl": {
    "h": 238.235,
    "s": 65.385,
    "l": 40.784
  },
  "oklch": {
    "l": 0.3842,
    "c": 0.20154,
    "h": 270.7
  },
  "luminance": 0.04871
}

Semantic roles & 50–950 ramp

primary
#2428AC
secondary
#C6C366
accent
#E33FE8
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2428AC

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

Preview Lab → · Contrast checker → · Palette generator →

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