#251F92#251F92

#251F92 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.3% C 0.178 H 274.0°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#251F92
RGBrgb(37, 31, 146)
HSLhsl(243, 65%, 35%)
HSVhsv(243, 79%, 57%)
CMYKcmyk(74.7%, 78.8%, 0%, 42.7%)
CIE-LABlab(21.76, 41.09, -61.35)
CIE-LCHlch(21.76, 73.84, 303.82°)
OKLaboklab(34.33% 0.0123 -0.1775)
OKLCHoklch(34.33% 0.178 274)
XYZxyz(6.4395, 3.4480, 27.5147)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251F92 #8C921F
analogous
#1F5392 #251F92 #5E1F92
triadic
#251F92 #92251F #1F9225
tetradic
#251F92 #921F53 #8C921F #1F925E
square
#251F92 #921F53 #8C921F #1F925E
split-complementary
#251F92 #925E1F #53921F
monochromatic
#0B0A2D #181460 #251F92 #322AC4 #5851DA

Accessibility & contrast

On white

12.43
#251F92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#251F92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251F92
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251F92#FFFFFF#000000##FFFFFF
##251F921.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003995
Deuteranopia (green-blind)
#002F90
Tritanopia (blue-blind)
#004258
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #251f92;
/* rgb */ color: rgb(37, 31, 146);
/* oklch */ color: oklch(34.3% 0.178 274.0);
Tailwind
colors: {
  custom: {
    50: '#725db3',
    500: '#251f92',
    950: '#000000',
  },
}
SCSS
$custom: #251f92;
$custom-light: #725db3;
$custom-dark: #000000;
JSON
{
  "hex": "#251f92",
  "rgb": {
    "r": 37,
    "g": 31,
    "b": 146
  },
  "hsl": {
    "h": 243.13,
    "s": 64.972,
    "l": 34.706
  },
  "oklch": {
    "l": 0.34332,
    "c": 0.1779,
    "h": 274
  },
  "luminance": 0.03449
}

Semantic roles & 50–950 ramp

primary
#251F92
secondary
#B8BD50
accent
#E840DF
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #251F92

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

Preview Lab → · Contrast checker → · Palette generator →

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