#2427B1#2427B1

#2427B1 is a dark, highly saturated blue. Relative luminance 0.050; OKLCH L 38.8% C 0.208 H 270.5°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#2427B1
RGBrgb(36, 39, 177)
HSLhsl(239, 66%, 42%)
HSVhsv(239, 80%, 69%)
CMYKcmyk(79.7%, 78%, 0%, 30.6%)
CIE-LABlab(26.73, 46.92, -71.98)
CIE-LCHlch(26.73, 85.92, 303.10°)
OKLaboklab(38.85% 0.0018 -0.2084)
OKLCHoklch(38.85% 0.208 270.5)
XYZxyz(9.3862, 4.9994, 42.0567)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2427B1 #B1AE24
analogous
#246EB1 #2427B1 #6724B1
triadic
#2427B1 #B12427 #27B124
tetradic
#2427B1 #B1246E #B1AE24 #24B167
square
#2427B1 #B1246E #B1AE24 #24B167
split-complementary
#2427B1 #B16724 #6EB124
monochromatic
#0F114B #1A1C7E #2427B1 #3B3ED7 #6E70E1

Accessibility & contrast

On white

10.50
#2427B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2427B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2427B1
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2427B1#FFFFFF#000000##FFFFFF
##2427B11.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B5
Deuteranopia (green-blind)
#0038AF
Tritanopia (blue-blind)
#00516B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2427b1;
/* rgb */ color: rgb(36, 39, 177);
/* oklch */ color: oklch(38.8% 0.208 270.5);
Tailwind
colors: {
  custom: {
    50: '#7964ca',
    500: '#2427b1',
    950: '#000000',
  },
}
SCSS
$custom: #2427b1;
$custom-light: #7964ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2427b1",
  "rgb": {
    "r": 36,
    "g": 39,
    "b": 177
  },
  "hsl": {
    "h": 238.723,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.38847,
    "c": 0.20845,
    "h": 270.5
  },
  "luminance": 0.05
}

Semantic roles & 50–950 ramp

primary
#2427B1
secondary
#C8C669
accent
#E53FE9
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2427B1

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

Preview Lab → · Contrast checker → · Palette generator →

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