#2427AE#2427AE

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

Color values

HEX#2427AE
RGBrgb(36, 39, 174)
HSLhsl(239, 66%, 41%)
HSVhsv(239, 79%, 68%)
CMYKcmyk(79.3%, 77.6%, 0%, 31.8%)
CIE-LABlab(26.39, 45.93, -70.74)
CIE-LCHlch(26.39, 84.34, 302.99°)
OKLaboklab(38.51% 0.0023 -0.2049)
OKLCHoklch(38.51% 0.205 270.6)
XYZxyz(9.0905, 4.8811, 40.4992)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2427AE #AEAB24
analogous
#246CAE #2427AE #6624AE
triadic
#2427AE #AE2427 #27AE24
tetradic
#2427AE #AE246C #AEAB24 #24AE66
square
#2427AE #AE246C #AEAB24 #24AE66
split-complementary
#2427AE #AE6624 #6CAE24
monochromatic
#0F1049 #1A1C7B #2427AE #393DD6 #6C6EE1

Accessibility & contrast

On white

10.63
#2427AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2427AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2427AE
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2427AE#FFFFFF#000000##FFFFFF
##2427AE1.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B2
Deuteranopia (green-blind)
#0037AC
Tritanopia (blue-blind)
#00506A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2427ae;
/* rgb */ color: rgb(36, 39, 174);
/* oklch */ color: oklch(38.5% 0.205 270.6);
Tailwind
colors: {
  custom: {
    50: '#7863c8',
    500: '#2427ae',
    950: '#000000',
  },
}
SCSS
$custom: #2427ae;
$custom-light: #7863c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2427ae",
  "rgb": {
    "r": 36,
    "g": 39,
    "b": 174
  },
  "hsl": {
    "h": 238.696,
    "s": 65.714,
    "l": 41.176
  },
  "oklch": {
    "l": 0.38508,
    "c": 0.20487,
    "h": 270.6
  },
  "luminance": 0.04882
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2427AE

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

Preview Lab → · Contrast checker → · Palette generator →

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