#251BAA#251BAA

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

Color values

HEX#251BAA
RGBrgb(37, 27, 170)
HSLhsl(244, 73%, 39%)
HSVhsv(244, 84%, 67%)
CMYKcmyk(78.2%, 84.1%, 0%, 33.3%)
CIE-LABlab(23.93, 50.68, -72.42)
CIE-LCHlch(23.93, 88.39, 304.98°)
OKLaboklab(36.67% 0.0077 -0.2095)
OKLCHoklch(36.67% 0.21 272.1)
XYZxyz(8.4081, 4.0785, 38.3665)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251BAA #A0AA1B
analogous
#1B58AA #251BAA #6C1BAA
triadic
#251BAA #AA251B #1BAA25
tetradic
#251BAA #AA1B58 #A0AA1B #1BAA6C
square
#251BAA #AA1B58 #A0AA1B #1BAA6C
split-complementary
#251BAA #AA6C1B #58AA1B
monochromatic
#0E0A40 #1A1375 #251BAA #3226DC #645BE5

Accessibility & contrast

On white

11.57
#251BAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#251BAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251BAA
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251BAA#FFFFFF#000000##FFFFFF
##251BAA1.0011.571.8211.57
#FFFFFF11.571.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.571.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: #251baa;
/* rgb */ color: rgb(37, 27, 170);
/* oklch */ color: oklch(36.7% 0.210 272.1);
Tailwind
colors: {
  custom: {
    50: '#795dc5',
    500: '#251baa',
    950: '#000000',
  },
}
SCSS
$custom: #251baa;
$custom-light: #795dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#251baa",
  "rgb": {
    "r": 37,
    "g": 27,
    "b": 170
  },
  "hsl": {
    "h": 244.196,
    "s": 72.589,
    "l": 38.627
  },
  "oklch": {
    "l": 0.3667,
    "c": 0.20964,
    "h": 272.1
  },
  "luminance": 0.04079
}

Semantic roles & 50–950 ramp

primary
#251BAA
secondary
#C1C958
accent
#EF39E3
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0413
muted
#7C7982

Preview Lab

Preview with #251BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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