#251DB3#251DB3

#251DB3 is a dark, highly saturated blue. Relative luminance 0.045; OKLCH L 38.0% C 0.218 H 271.3°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#251DB3
RGBrgb(37, 29, 179)
HSLhsl(243, 72%, 41%)
HSVhsv(243, 84%, 70%)
CMYKcmyk(79.3%, 83.8%, 0%, 29.8%)
CIE-LABlab(25.34, 52.52, -75.49)
CIE-LCHlch(25.34, 91.96, 304.83°)
OKLaboklab(37.96% 0.005 -0.2184)
OKLCHoklch(37.96% 0.218 271.3)
XYZxyz(9.3363, 4.5257, 43.0206)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251DB3 #ABB31D
analogous
#1D60B3 #251DB3 #701DB3
triadic
#251DB3 #B3251D #1DB325
tetradic
#251DB3 #B31D60 #ABB31D #1DB370
square
#251DB3 #B31D60 #ABB31D #1DB370
split-complementary
#251DB3 #B3701D #60B31D
monochromatic
#0F0C4A #1A147E #251DB3 #3930DD #6B64E6

Accessibility & contrast

On white

11.02
#251DB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#251DB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251DB3
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251DB3#FFFFFF#000000##FFFFFF
##251DB31.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043B7
Deuteranopia (green-blind)
#0034B1
Tritanopia (blue-blind)
#004E6B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #251db3;
/* rgb */ color: rgb(37, 29, 179);
/* oklch */ color: oklch(38.0% 0.218 271.3);
Tailwind
colors: {
  custom: {
    50: '#7b5ecb',
    500: '#251db3',
    950: '#000000',
  },
}
SCSS
$custom: #251db3;
$custom-light: #7b5ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#251db3",
  "rgb": {
    "r": 37,
    "g": 29,
    "b": 179
  },
  "hsl": {
    "h": 243.2,
    "s": 72.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.37958,
    "c": 0.21848,
    "h": 271.3
  },
  "luminance": 0.04527
}

Semantic roles & 50–950 ramp

primary
#251DB3
secondary
#C5CB61
accent
#EF39E5
background
#F8F5FC
surface
#EFE9F9
border
#CAC5D2
text
#0B0514
muted
#7C7982

Preview Lab

Preview with #251DB3

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

Preview Lab → · Contrast checker → · Palette generator →

#251DB3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva