#2427A5#2427A5

#2427A5 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.5% C 0.194 H 271.2°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#2427A5
RGBrgb(36, 39, 165)
HSLhsl(239, 64%, 39%)
HSVhsv(239, 78%, 65%)
CMYKcmyk(78.2%, 76.4%, 0%, 35.3%)
CIE-LABlab(25.39, 42.92, -66.98)
CIE-LCHlch(25.39, 79.55, 302.65°)
OKLaboklab(37.5% 0.004 -0.1939)
OKLCHoklch(37.5% 0.194 271.2)
XYZxyz(8.2423, 4.5418, 36.0323)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2427A5 #A5A224
analogous
#2467A5 #2427A5 #6224A5
triadic
#2427A5 #A52427 #27A524
tetradic
#2427A5 #A52467 #A5A224 #24A562
square
#2427A5 #A52467 #A5A224 #24A562
split-complementary
#2427A5 #A56224 #67A524
monochromatic
#0E0F41 #191B73 #2427A5 #3437D3 #6669DE

Accessibility & contrast

On white

11.00
#2427A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2427A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2427A5
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2427A5#FFFFFF#000000##FFFFFF
##2427A51.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A9
Deuteranopia (green-blind)
#0036A3
Tritanopia (blue-blind)
#004C64
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2427a5;
/* rgb */ color: rgb(36, 39, 165);
/* oklch */ color: oklch(37.5% 0.194 271.2);
Tailwind
colors: {
  custom: {
    50: '#7663c1',
    500: '#2427a5',
    950: '#000000',
  },
}
SCSS
$custom: #2427a5;
$custom-light: #7663c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2427a5",
  "rgb": {
    "r": 36,
    "g": 39,
    "b": 165
  },
  "hsl": {
    "h": 238.605,
    "s": 64.179,
    "l": 39.412
  },
  "oklch": {
    "l": 0.37503,
    "c": 0.19398,
    "h": 271.2
  },
  "luminance": 0.04543
}

Semantic roles & 50–950 ramp

primary
#2427A5
secondary
#C3C162
accent
#E341E7
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #2427A5

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

Preview Lab → · Contrast checker → · Palette generator →

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