#251DBD#251DBD

#251DBD is a dark, highly saturated blue. Relative luminance 0.049; OKLCH L 39.2% C 0.230 H 270.7°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#251DBD
RGBrgb(37, 29, 189)
HSLhsl(243, 73%, 43%)
HSVhsv(243, 85%, 74%)
CMYKcmyk(80.4%, 84.7%, 0%, 25.9%)
CIE-LABlab(26.58, 55.51, -79.38)
CIE-LCHlch(26.58, 96.86, 304.96°)
OKLaboklab(39.16% 0.0026 -0.2297)
OKLCHoklch(39.16% 0.23 270.7)
XYZxyz(10.3845, 4.9450, 48.5414)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251DBD #B5BD1D
analogous
#1D65BD #251DBD #751DBD
triadic
#251DBD #BD251D #1DBD25
tetradic
#251DBD #BD1D65 #B5BD1D #1DBD75
square
#251DBD #BD1D65 #B5BD1D #1DBD75
split-complementary
#251DBD #BD751D #65BD1D
monochromatic
#100D53 #1B1588 #251DBD #3F37E0 #726CE8

Accessibility & contrast

On white

10.56
#251DBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#251DBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251DBD
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251DBD#FFFFFF#000000##FFFFFF
##251DBD1.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047C1
Deuteranopia (green-blind)
#0037BA
Tritanopia (blue-blind)
#005270
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #251dbd;
/* rgb */ color: rgb(37, 29, 189);
/* oklch */ color: oklch(39.2% 0.230 270.7);
Tailwind
colors: {
  custom: {
    50: '#7d5fd2',
    500: '#251dbd',
    950: '#000000',
  },
}
SCSS
$custom: #251dbd;
$custom-light: #7d5fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#251dbd",
  "rgb": {
    "r": 37,
    "g": 29,
    "b": 189
  },
  "hsl": {
    "h": 243,
    "s": 73.394,
    "l": 42.745
  },
  "oklch": {
    "l": 0.39164,
    "c": 0.22969,
    "h": 270.7
  },
  "luminance": 0.04946
}

Semantic roles & 50–950 ramp

primary
#251DBD
secondary
#C9CE67
accent
#F038E7
background
#F8F5FD
surface
#F0EAFA
border
#CBC6D3
text
#0C0514
muted
#7D7983

Preview Lab

Preview with #251DBD

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

Preview Lab → · Contrast checker → · Palette generator →

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