#251889#251889

#251889 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.4% C 0.173 H 275.8°. Best body text is #FFFFFF at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#251889
RGBrgb(37, 24, 137)
HSLhsl(247, 70%, 32%)
HSVhsv(247, 82%, 54%)
CMYKcmyk(73%, 82.5%, 0%, 46.3%)
CIE-LABlab(19.44, 41.83, -59.57)
CIE-LCHlch(19.44, 72.79, 305.08°)
OKLaboklab(32.41% 0.0176 -0.1722)
OKLCHoklch(32.41% 0.173 275.8)
XYZxyz(5.6035, 2.8522, 23.9173)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251889 #7C8918
analogous
#184489 #251889 #5E1889
triadic
#251889 #892518 #188925
tetradic
#251889 #891844 #7C8918 #18895E
square
#251889 #891844 #7C8918 #18895E
split-complementary
#251889 #895E18 #448918
monochromatic
#090621 #170F55 #251889 #3321BD #503EDD

Accessibility & contrast

On white

13.37
#251889 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#251889 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251889
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251889#FFFFFF#000000##FFFFFF
##2518891.0013.371.5713.37
#FFFFFF13.371.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #251889;
/* rgb */ color: rgb(37, 24, 137);
/* oklch */ color: oklch(32.4% 0.173 275.8);
Tailwind
colors: {
  custom: {
    50: '#7159ad',
    500: '#251889',
    950: '#000000',
  },
}
SCSS
$custom: #251889;
$custom-light: #7159ad;
$custom-dark: #000000;
JSON
{
  "hex": "#251889",
  "rgb": {
    "r": 37,
    "g": 24,
    "b": 137
  },
  "hsl": {
    "h": 246.903,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.3241,
    "c": 0.1731,
    "h": 275.8
  },
  "luminance": 0.02853
}

Semantic roles & 50–950 ramp

primary
#251889
secondary
#AEBD40
accent
#ED3BD8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #251889

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

Preview Lab → · Contrast checker → · Palette generator →

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