#251DAC#251DAC

#251DAC is a dark, highly saturated blue. Relative luminance 0.043; OKLCH L 37.1% C 0.210 H 271.8°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#251DAC
RGBrgb(37, 29, 172)
HSLhsl(243, 71%, 39%)
HSVhsv(243, 83%, 67%)
CMYKcmyk(78.5%, 83.1%, 0%, 32.5%)
CIE-LABlab(24.48, 50.39, -72.71)
CIE-LCHlch(24.48, 88.46, 304.72°)
OKLaboklab(37.12% 0.0067 -0.2104)
OKLCHoklch(37.12% 0.21 271.8)
XYZxyz(8.6462, 4.2496, 39.3863)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251DAC #A4AC1D
analogous
#1D5CAC #251DAC #6D1DAC
triadic
#251DAC #AC251D #1DAC25
tetradic
#251DAC #AC1D5C #A4AC1D #1DAC6D
square
#251DAC #AC1D5C #A4AC1D #1DAC6D
split-complementary
#251DAC #AC6D1D #5CAC1D
monochromatic
#0E0B43 #1A1478 #251DAC #352BDB #675FE4

Accessibility & contrast

On white

11.35
#251DAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#251DAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251DAC
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251DAC#FFFFFF#000000##FFFFFF
##251DAC1.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041B0
Deuteranopia (green-blind)
#0033AA
Tritanopia (blue-blind)
#004B66
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #251dac;
/* rgb */ color: rgb(37, 29, 172);
/* oklch */ color: oklch(37.1% 0.210 271.8);
Tailwind
colors: {
  custom: {
    50: '#795ec6',
    500: '#251dac',
    950: '#000000',
  },
}
SCSS
$custom: #251dac;
$custom-light: #795ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#251dac",
  "rgb": {
    "r": 37,
    "g": 29,
    "b": 172
  },
  "hsl": {
    "h": 243.357,
    "s": 71.144,
    "l": 39.412
  },
  "oklch": {
    "l": 0.3712,
    "c": 0.21049,
    "h": 271.8
  },
  "luminance": 0.04251
}

Semantic roles & 50–950 ramp

primary
#251DAC
secondary
#C2C85C
accent
#EE3AE4
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #251DAC

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

Preview Lab → · Contrast checker → · Palette generator →

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