#2427AD#2427AD

#2427AD is a dark, highly saturated blue. Relative luminance 0.048; OKLCH L 38.4% C 0.204 H 270.7°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#2427AD
RGBrgb(36, 39, 173)
HSLhsl(239, 66%, 41%)
HSVhsv(239, 79%, 68%)
CMYKcmyk(79.2%, 77.5%, 0%, 32.2%)
CIE-LABlab(26.28, 45.60, -70.33)
CIE-LCHlch(26.28, 83.82, 302.96°)
OKLaboklab(38.4% 0.0025 -0.2037)
OKLCHoklch(38.4% 0.204 270.7)
XYZxyz(8.9933, 4.8422, 39.9877)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2427AD #ADAA24
analogous
#246BAD #2427AD #6524AD
triadic
#2427AD #AD2427 #27AD24
tetradic
#2427AD #AD246B #ADAA24 #24AD65
square
#2427AD #AD246B #ADAA24 #24AD65
split-complementary
#2427AD #AD6524 #6BAD24
monochromatic
#0F1048 #191C7A #2427AD #393CD6 #6B6EE0

Accessibility & contrast

On white

10.67
#2427AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2427AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2427AD
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2427AD#FFFFFF#000000##FFFFFF
##2427AD1.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B1
Deuteranopia (green-blind)
#0037AB
Tritanopia (blue-blind)
#004F69
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2427ad;
/* rgb */ color: rgb(36, 39, 173);
/* oklch */ color: oklch(38.4% 0.204 270.7);
Tailwind
colors: {
  custom: {
    50: '#7863c7',
    500: '#2427ad',
    950: '#000000',
  },
}
SCSS
$custom: #2427ad;
$custom-light: #7863c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2427ad",
  "rgb": {
    "r": 36,
    "g": 39,
    "b": 173
  },
  "hsl": {
    "h": 238.686,
    "s": 65.55,
    "l": 40.98
  },
  "oklch": {
    "l": 0.38396,
    "c": 0.20368,
    "h": 270.7
  },
  "luminance": 0.04843
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2427AD

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

Preview Lab → · Contrast checker → · Palette generator →

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