#2427AF#2427AF

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

Color values

HEX#2427AF
RGBrgb(36, 39, 175)
HSLhsl(239, 66%, 41%)
HSVhsv(239, 79%, 69%)
CMYKcmyk(79.4%, 77.7%, 0%, 31.4%)
CIE-LABlab(26.51, 46.26, -71.15)
CIE-LCHlch(26.51, 84.87, 303.03°)
OKLaboklab(38.62% 0.0021 -0.206)
OKLCHoklch(38.62% 0.206 270.6)
XYZxyz(9.1883, 4.9202, 41.0146)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2427AF #AFAC24
analogous
#246DAF #2427AF #6724AF
triadic
#2427AF #AF2427 #27AF24
tetradic
#2427AF #AF246D #AFAC24 #24AF67
square
#2427AF #AF246D #AFAC24 #24AF67
split-complementary
#2427AF #AF6724 #6DAF24
monochromatic
#0F1049 #1A1C7C #2427AF #3A3DD6 #6D6FE1

Accessibility & contrast

On white

10.58
#2427AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2427AF
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2427AF#FFFFFF#000000##FFFFFF
##2427AF1.0010.581.9810.58
#FFFFFF10.581.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B3
Deuteranopia (green-blind)
#0038AD
Tritanopia (blue-blind)
#00506A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2427af;
/* rgb */ color: rgb(36, 39, 175);
/* oklch */ color: oklch(38.6% 0.206 270.6);
Tailwind
colors: {
  custom: {
    50: '#7963c8',
    500: '#2427af',
    950: '#000000',
  },
}
SCSS
$custom: #2427af;
$custom-light: #7963c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2427af",
  "rgb": {
    "r": 36,
    "g": 39,
    "b": 175
  },
  "hsl": {
    "h": 238.705,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.38621,
    "c": 0.20606,
    "h": 270.6
  },
  "luminance": 0.04921
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2427AF

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

Preview Lab → · Contrast checker → · Palette generator →

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