#2427A9#2427A9

#2427A9 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.9% C 0.199 H 270.9°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#2427A9
RGBrgb(36, 39, 169)
HSLhsl(239, 65%, 40%)
HSVhsv(239, 79%, 66%)
CMYKcmyk(78.7%, 76.9%, 0%, 33.7%)
CIE-LABlab(25.83, 44.27, -68.66)
CIE-LCHlch(25.83, 81.69, 302.81°)
OKLaboklab(37.95% 0.0032 -0.1988)
OKLCHoklch(37.95% 0.199 270.9)
XYZxyz(8.6121, 4.6897, 37.9797)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2427A9 #A9A624
analogous
#2469A9 #2427A9 #6424A9
triadic
#2427A9 #A92427 #27A924
tetradic
#2427A9 #A92469 #A9A624 #24A964
square
#2427A9 #A92469 #A9A624 #24A964
split-complementary
#2427A9 #A96424 #69A924
monochromatic
#0F1044 #191B77 #2427A9 #363AD4 #686BDF

Accessibility & contrast

On white

10.83
#2427A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#2427A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2427A9
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2427A9#FFFFFF#000000##FFFFFF
##2427A91.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AD
Deuteranopia (green-blind)
#0036A7
Tritanopia (blue-blind)
#004E67
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2427a9;
/* rgb */ color: rgb(36, 39, 169);
/* oklch */ color: oklch(37.9% 0.199 270.9);
Tailwind
colors: {
  custom: {
    50: '#7763c4',
    500: '#2427a9',
    950: '#000000',
  },
}
SCSS
$custom: #2427a9;
$custom-light: #7763c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2427a9",
  "rgb": {
    "r": 36,
    "g": 39,
    "b": 169
  },
  "hsl": {
    "h": 238.647,
    "s": 64.878,
    "l": 40.196
  },
  "oklch": {
    "l": 0.37948,
    "c": 0.19885,
    "h": 270.9
  },
  "luminance": 0.04691
}

Semantic roles & 50–950 ramp

primary
#2427A9
secondary
#C5C364
accent
#E440E8
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0513
muted
#7C7A82

Preview Lab

Preview with #2427A9

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

Preview Lab → · Contrast checker → · Palette generator →

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