#251989#251989

#251989 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.5% C 0.172 H 275.7°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#251989
RGBrgb(37, 25, 137)
HSLhsl(246, 69%, 32%)
HSVhsv(246, 82%, 54%)
CMYKcmyk(73%, 81.8%, 0%, 46.3%)
CIE-LABlab(19.62, 41.33, -59.28)
CIE-LCHlch(19.62, 72.27, 304.88°)
OKLaboklab(32.53% 0.0172 -0.1714)
OKLCHoklch(32.53% 0.172 275.7)
XYZxyz(5.6245, 2.8942, 23.9243)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251989 #7D8919
analogous
#194589 #251989 #5D1989
triadic
#251989 #892519 #198925
tetradic
#251989 #891945 #7D8919 #19895D
square
#251989 #891945 #7D8919 #19895D
split-complementary
#251989 #895D19 #458919
monochromatic
#090621 #171055 #251989 #3322BD #5140DC

Accessibility & contrast

On white

13.30
#251989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#251989 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251989
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251989#FFFFFF#000000##FFFFFF
##2519891.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00348C
Deuteranopia (green-blind)
#002A87
Tritanopia (blue-blind)
#003C51
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #251989;
/* rgb */ color: rgb(37, 25, 137);
/* oklch */ color: oklch(32.5% 0.172 275.7);
Tailwind
colors: {
  custom: {
    50: '#7159ad',
    500: '#251989',
    950: '#000000',
  },
}
SCSS
$custom: #251989;
$custom-light: #7159ad;
$custom-dark: #000000;
JSON
{
  "hex": "#251989",
  "rgb": {
    "r": 37,
    "g": 25,
    "b": 137
  },
  "hsl": {
    "h": 246.429,
    "s": 69.136,
    "l": 31.765
  },
  "oklch": {
    "l": 0.3253,
    "c": 0.17224,
    "h": 275.7
  },
  "luminance": 0.02895
}

Semantic roles & 50–950 ramp

primary
#251989
secondary
#AFBC41
accent
#EC3CD9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #251989

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

Preview Lab → · Contrast checker → · Palette generator →

#251989 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva