#251EA9#251EA9

#251EA9 is a dark, highly saturated blue. Relative luminance 0.042; OKLCH L 36.9% C 0.206 H 272.0°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#251EA9
RGBrgb(37, 30, 169)
HSLhsl(243, 70%, 39%)
HSVhsv(243, 82%, 66%)
CMYKcmyk(78.1%, 82.2%, 0%, 33.7%)
CIE-LABlab(24.28, 48.99, -71.24)
CIE-LCHlch(24.28, 86.46, 304.52°)
OKLaboklab(36.87% 0.0072 -0.2061)
OKLCHoklch(36.87% 0.206 272)
XYZxyz(8.3862, 4.1855, 37.8943)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251EA9 #A2A91E
analogous
#1E5CA9 #251EA9 #6B1EA9
triadic
#251EA9 #A9251E #1EA925
tetradic
#251EA9 #A91E5C #A2A91E #1EA96B
square
#251EA9 #A91E5C #A2A91E #1EA96B
split-complementary
#251EA9 #A96B1E #5CA91E
monochromatic
#0E0C41 #1A1575 #251EA9 #342BD9 #655FE3

Accessibility & contrast

On white

11.43
#251EA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#251EA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251EA9
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251EA9#FFFFFF#000000##FFFFFF
##251EA91.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040AD
Deuteranopia (green-blind)
#0033A7
Tritanopia (blue-blind)
#004A65
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #251ea9;
/* rgb */ color: rgb(37, 30, 169);
/* oklch */ color: oklch(36.9% 0.206 272.0);
Tailwind
colors: {
  custom: {
    50: '#785ec4',
    500: '#251ea9',
    950: '#000000',
  },
}
SCSS
$custom: #251ea9;
$custom-light: #785ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#251ea9",
  "rgb": {
    "r": 37,
    "g": 30,
    "b": 169
  },
  "hsl": {
    "h": 243.022,
    "s": 69.849,
    "l": 39.02
  },
  "oklch": {
    "l": 0.36874,
    "c": 0.20628,
    "h": 272
  },
  "luminance": 0.04186
}

Semantic roles & 50–950 ramp

primary
#251EA9
secondary
#C2C75C
accent
#ED3BE4
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #251EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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