#2428AA#2428AA

#2428AA is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.2% C 0.199 H 270.8°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#2428AA
RGBrgb(36, 40, 170)
HSLhsl(238, 65%, 40%)
HSVhsv(238, 79%, 67%)
CMYKcmyk(78.8%, 76.5%, 0%, 33.3%)
CIE-LABlab(26.14, 44.04, -68.76)
CIE-LCHlch(26.14, 81.65, 302.64°)
OKLaboklab(38.2% 0.0027 -0.1991)
OKLCHoklch(38.2% 0.199 270.8)
XYZxyz(8.7396, 4.7940, 38.4871)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2428AA #AAA624
analogous
#246BAA #2428AA #6324AA
triadic
#2428AA #AA2428 #28AA24
tetradic
#2428AA #AA246B #AAA624 #24AA63
square
#2428AA #AA246B #AAA624 #24AA63
split-complementary
#2428AA #AA6324 #6BAA24
monochromatic
#0F1045 #191C77 #2428AA #373BD5 #696DDF

Accessibility & contrast

On white

10.72
#2428AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2428AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2428AA#FFFFFF#000000##FFFFFF
##2428AA1.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AE
Deuteranopia (green-blind)
#0037A8
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2428aa;
/* rgb */ color: rgb(36, 40, 170);
/* oklch */ color: oklch(38.2% 0.199 270.8);
Tailwind
colors: {
  custom: {
    50: '#7764c5',
    500: '#2428aa',
    950: '#000000',
  },
}
SCSS
$custom: #2428aa;
$custom-light: #7764c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2428aa",
  "rgb": {
    "r": 36,
    "g": 40,
    "b": 170
  },
  "hsl": {
    "h": 238.209,
    "s": 65.049,
    "l": 40.392
  },
  "oklch": {
    "l": 0.38198,
    "c": 0.19913,
    "h": 270.8
  },
  "luminance": 0.04795
}

Semantic roles & 50–950 ramp

primary
#2428AA
secondary
#C5C265
accent
#E340E8
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0513
muted
#7C7A82

Preview Lab

Preview with #2428AA

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

Preview Lab → · Contrast checker → · Palette generator →

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