#251B8A#251B8A

#251B8A is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.9% C 0.172 H 275.4°. Best body text is #FFFFFF at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#251B8A
RGBrgb(37, 27, 138)
HSLhsl(245, 67%, 32%)
HSVhsv(245, 80%, 54%)
CMYKcmyk(73.2%, 80.4%, 0%, 45.9%)
CIE-LABlab(20.09, 40.62, -59.12)
CIE-LCHlch(20.09, 71.73, 304.49°)
OKLaboklab(32.9% 0.0161 -0.1709)
OKLCHoklch(32.9% 0.172 275.4)
XYZxyz(5.7408, 3.0116, 24.3186)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251B8A #808A1B
analogous
#1B498A #251B8A #5C1B8A
triadic
#251B8A #8A251B #1B8A25
tetradic
#251B8A #8A1B49 #808A1B #1B8A5C
square
#251B8A #8A1B49 #808A1B #1B8A5C
split-complementary
#251B8A #8A5C1B #498A1B
monochromatic
#0A0724 #171157 #251B8A #3325BD #5245DB

Accessibility & contrast

On white

13.11
#251B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#251B8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251B8A
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251B8A#FFFFFF#000000##FFFFFF
##251B8A1.0013.111.6013.11
#FFFFFF13.111.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00358D
Deuteranopia (green-blind)
#002B88
Tritanopia (blue-blind)
#003D52
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #251b8a;
/* rgb */ color: rgb(37, 27, 138);
/* oklch */ color: oklch(32.9% 0.172 275.4);
Tailwind
colors: {
  custom: {
    50: '#715aad',
    500: '#251b8a',
    950: '#000000',
  },
}
SCSS
$custom: #251b8a;
$custom-light: #715aad;
$custom-dark: #000000;
JSON
{
  "hex": "#251b8a",
  "rgb": {
    "r": 37,
    "g": 27,
    "b": 138
  },
  "hsl": {
    "h": 245.405,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.32896,
    "c": 0.17169,
    "h": 275.4
  },
  "luminance": 0.03012
}

Semantic roles & 50–950 ramp

primary
#251B8A
secondary
#B1BC45
accent
#EA3EDB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #251B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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