#2427A7#2427A7

#2427A7 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.7% C 0.196 H 271.1°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#2427A7
RGBrgb(36, 39, 167)
HSLhsl(239, 65%, 40%)
HSVhsv(239, 78%, 65%)
CMYKcmyk(78.4%, 76.6%, 0%, 34.5%)
CIE-LABlab(25.61, 43.59, -67.82)
CIE-LCHlch(25.61, 80.63, 302.73°)
OKLaboklab(37.72% 0.0036 -0.1964)
OKLCHoklch(37.72% 0.196 271.1)
XYZxyz(8.4258, 4.6152, 36.9985)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2427A7 #A7A424
analogous
#2469A7 #2427A7 #6324A7
triadic
#2427A7 #A72427 #27A724
tetradic
#2427A7 #A72469 #A7A424 #24A763
square
#2427A7 #A72469 #A7A424 #24A763
split-complementary
#2427A7 #A76324 #69A724
monochromatic
#0E0F42 #191B75 #2427A7 #3538D3 #676ADE

Accessibility & contrast

On white

10.92
#2427A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2427A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2427A7
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2427A7#FFFFFF#000000##FFFFFF
##2427A71.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043AB
Deuteranopia (green-blind)
#0036A5
Tritanopia (blue-blind)
#004D66
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2427a7;
/* rgb */ color: rgb(36, 39, 167);
/* oklch */ color: oklch(37.7% 0.196 271.1);
Tailwind
colors: {
  custom: {
    50: '#7763c2',
    500: '#2427a7',
    950: '#000000',
  },
}
SCSS
$custom: #2427a7;
$custom-light: #7763c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2427a7",
  "rgb": {
    "r": 36,
    "g": 39,
    "b": 167
  },
  "hsl": {
    "h": 238.626,
    "s": 64.532,
    "l": 39.804
  },
  "oklch": {
    "l": 0.37725,
    "c": 0.19642,
    "h": 271.1
  },
  "luminance": 0.04616
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2427A7

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

Preview Lab → · Contrast checker → · Palette generator →

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