#251D99#251D99

#251D99 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.9% C 0.188 H 273.5°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#251D99
RGBrgb(37, 29, 153)
HSLhsl(244, 68%, 36%)
HSVhsv(244, 81%, 60%)
CMYKcmyk(75.8%, 81%, 0%, 40%)
CIE-LABlab(22.20, 44.43, -64.93)
CIE-LCHlch(22.20, 78.68, 304.38°)
OKLaboklab(34.88% 0.0114 -0.1878)
OKLCHoklch(34.88% 0.188 273.5)
XYZxyz(6.9502, 3.5712, 30.4538)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251D99 #91991D
analogous
#1D5399 #251D99 #631D99
triadic
#251D99 #99251D #1D9925
tetradic
#251D99 #991D53 #91991D #1D9963
square
#251D99 #991D53 #91991D #1D9963
split-complementary
#251D99 #99631D #53991D
monochromatic
#0C0932 #191366 #251D99 #3127CC #5B52DE

Accessibility & contrast

On white

12.25
#251D99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#251D99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251D99
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251D99#FFFFFF#000000##FFFFFF
##251D991.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B9C
Deuteranopia (green-blind)
#002F97
Tritanopia (blue-blind)
#00445B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #251d99;
/* rgb */ color: rgb(37, 29, 153);
/* oklch */ color: oklch(34.9% 0.188 273.5);
Tailwind
colors: {
  custom: {
    50: '#745cb8',
    500: '#251d99',
    950: '#000000',
  },
}
SCSS
$custom: #251d99;
$custom-light: #745cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#251d99",
  "rgb": {
    "r": 37,
    "g": 29,
    "b": 153
  },
  "hsl": {
    "h": 243.871,
    "s": 68.132,
    "l": 35.686
  },
  "oklch": {
    "l": 0.3488,
    "c": 0.1882,
    "h": 273.5
  },
  "luminance": 0.03572
}

Semantic roles & 50–950 ramp

primary
#251D99
secondary
#BAC151
accent
#EB3DE0
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #251D99

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

Preview Lab → · Contrast checker → · Palette generator →

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