#251489#251489

#251489 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 32.0% C 0.176 H 276.3°. Best body text is #FFFFFF at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#251489
RGBrgb(37, 20, 137)
HSLhsl(249, 75%, 31%)
HSVhsv(249, 85%, 54%)
CMYKcmyk(73%, 85.4%, 0%, 46.3%)
CIE-LABlab(18.80, 43.73, -60.64)
CIE-LCHlch(18.80, 74.76, 305.80°)
OKLaboklab(31.96% 0.0192 -0.1752)
OKLCHoklch(31.96% 0.176 276.3)
XYZxyz(5.5270, 2.6992, 23.8918)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251489 #788914
analogous
#143D89 #251489 #5F1489
triadic
#251489 #892514 #148925
tetradic
#251489 #89143D #788914 #14895F
square
#251489 #89143D #788914 #14895F
split-complementary
#251489 #895F14 #3D8914
monochromatic
#08041E #170C54 #251489 #331CBE #4F36E2

Accessibility & contrast

On white

13.64
#251489 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#251489 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251489
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251489#FFFFFF#000000##FFFFFF
##2514891.0013.641.5413.64
#FFFFFF13.641.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00328C
Deuteranopia (green-blind)
#002987
Tritanopia (blue-blind)
#003A50
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #251489;
/* rgb */ color: rgb(37, 20, 137);
/* oklch */ color: oklch(32.0% 0.176 276.3);
Tailwind
colors: {
  custom: {
    50: '#7157ad',
    500: '#251489',
    950: '#000000',
  },
}
SCSS
$custom: #251489;
$custom-light: #7157ad;
$custom-dark: #000000;
JSON
{
  "hex": "#251489",
  "rgb": {
    "r": 37,
    "g": 20,
    "b": 137
  },
  "hsl": {
    "h": 248.718,
    "s": 74.522,
    "l": 30.784
  },
  "oklch": {
    "l": 0.31964,
    "c": 0.17628,
    "h": 276.3
  },
  "luminance": 0.027
}

Semantic roles & 50–950 ramp

primary
#251489
secondary
#AABD3C
accent
#F137D6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #251489

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

Preview Lab → · Contrast checker → · Palette generator →

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