#2427A0#2427A0

#2427A0 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.0% C 0.188 H 271.5°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#2427A0
RGBrgb(36, 39, 160)
HSLhsl(239, 63%, 38%)
HSVhsv(239, 78%, 63%)
CMYKcmyk(77.5%, 75.6%, 0%, 37.3%)
CIE-LABlab(24.84, 41.22, -64.85)
CIE-LCHlch(24.84, 76.84, 302.44°)
OKLaboklab(36.95% 0.0049 -0.1878)
OKLCHoklch(36.95% 0.188 271.5)
XYZxyz(7.7961, 4.3633, 33.6822)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2427A0 #A09D24
analogous
#2465A0 #2427A0 #5F24A0
triadic
#2427A0 #A02427 #27A024
tetradic
#2427A0 #A02465 #A09D24 #24A05F
square
#2427A0 #A02465 #A09D24 #24A05F
split-complementary
#2427A0 #A05F24 #65A024
monochromatic
#0E0F3C #191B6E #2427A0 #3135D1 #6366DC

Accessibility & contrast

On white

11.21
#2427A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2427A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2427A0
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2427A0#FFFFFF#000000##FFFFFF
##2427A01.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A4
Deuteranopia (green-blind)
#00359E
Tritanopia (blue-blind)
#004A62
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2427a0;
/* rgb */ color: rgb(36, 39, 160);
/* oklch */ color: oklch(37.0% 0.188 271.5);
Tailwind
colors: {
  custom: {
    50: '#7563bd',
    500: '#2427a0',
    950: '#000000',
  },
}
SCSS
$custom: #2427a0;
$custom-light: #7563bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2427a0",
  "rgb": {
    "r": 36,
    "g": 39,
    "b": 160
  },
  "hsl": {
    "h": 238.548,
    "s": 63.265,
    "l": 38.431
  },
  "oklch": {
    "l": 0.36951,
    "c": 0.18782,
    "h": 271.5
  },
  "luminance": 0.04364
}

Semantic roles & 50–950 ramp

primary
#2427A0
secondary
#C1BF5F
accent
#E241E6
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2427A0

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

Preview Lab → · Contrast checker → · Palette generator →

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