#251CAA#251CAA

#251CAA is a dark, highly saturated blue. Relative luminance 0.041; OKLCH L 36.8% C 0.209 H 272.1°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#251CAA
RGBrgb(37, 28, 170)
HSLhsl(244, 72%, 39%)
HSVhsv(244, 84%, 67%)
CMYKcmyk(78.2%, 83.5%, 0%, 33.3%)
CIE-LABlab(24.08, 50.23, -72.17)
CIE-LCHlch(24.08, 87.93, 304.84°)
OKLaboklab(36.77% 0.0075 -0.2088)
OKLCHoklch(36.77% 0.209 272.1)
XYZxyz(8.4315, 4.1252, 38.3743)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251CAA #A1AA1C
analogous
#1C5AAA #251CAA #6C1CAA
triadic
#251CAA #AA251C #1CAA25
tetradic
#251CAA #AA1C5A #A1AA1C #1CAA6C
square
#251CAA #AA1C5A #A1AA1C #1CAA6C
split-complementary
#251CAA #AA6C1C #5AAA1C
monochromatic
#0E0B41 #1A1375 #251CAA #3328DC #655CE4

Accessibility & contrast

On white

11.51
#251CAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#251CAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251CAA
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251CAA#FFFFFF#000000##FFFFFF
##251CAA1.0011.511.8311.51
#FFFFFF11.511.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040AE
Deuteranopia (green-blind)
#0032A8
Tritanopia (blue-blind)
#004A65
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #251caa;
/* rgb */ color: rgb(37, 28, 170);
/* oklch */ color: oklch(36.8% 0.209 272.1);
Tailwind
colors: {
  custom: {
    50: '#795dc5',
    500: '#251caa',
    950: '#000000',
  },
}
SCSS
$custom: #251caa;
$custom-light: #795dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#251caa",
  "rgb": {
    "r": 37,
    "g": 28,
    "b": 170
  },
  "hsl": {
    "h": 243.803,
    "s": 71.717,
    "l": 38.824
  },
  "oklch": {
    "l": 0.36774,
    "c": 0.20892,
    "h": 272.1
  },
  "luminance": 0.04126
}

Semantic roles & 50–950 ramp

primary
#251CAA
secondary
#C1C85A
accent
#EE39E3
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0413
muted
#7C7982

Preview Lab

Preview with #251CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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