#251BAD#251BAD

#251BAD is a dark, highly saturated blue. Relative luminance 0.042; OKLCH L 37.0% C 0.213 H 271.9°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#251BAD
RGBrgb(37, 27, 173)
HSLhsl(244, 73%, 39%)
HSVhsv(244, 84%, 68%)
CMYKcmyk(78.6%, 84.4%, 0%, 32.2%)
CIE-LABlab(24.30, 51.59, -73.61)
CIE-LCHlch(24.30, 89.89, 305.02°)
OKLaboklab(37.03% 0.007 -0.2129)
OKLCHoklch(37.03% 0.213 271.9)
XYZxyz(8.6952, 4.1933, 39.8782)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251BAD #A3AD1B
analogous
#1B5AAD #251BAD #6E1BAD
triadic
#251BAD #AD251B #1BAD25
tetradic
#251BAD #AD1B5A #A3AD1B #1BAD6E
square
#251BAD #AD1B5A #A3AD1B #1BAD6E
split-complementary
#251BAD #AD6E1B #5AAD1B
monochromatic
#0E0A43 #1A1378 #251BAD #3428DD #665DE6

Accessibility & contrast

On white

11.42
#251BAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #251BAD
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251BAD#FFFFFF#000000##FFFFFF
##251BAD1.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041B1
Deuteranopia (green-blind)
#0032AB
Tritanopia (blue-blind)
#004B67
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #251bad;
/* rgb */ color: rgb(37, 27, 173);
/* oklch */ color: oklch(37.0% 0.213 271.9);
Tailwind
colors: {
  custom: {
    50: '#795dc7',
    500: '#251bad',
    950: '#000000',
  },
}
SCSS
$custom: #251bad;
$custom-light: #795dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#251bad",
  "rgb": {
    "r": 37,
    "g": 27,
    "b": 173
  },
  "hsl": {
    "h": 244.11,
    "s": 73,
    "l": 39.216
  },
  "oklch": {
    "l": 0.37031,
    "c": 0.21306,
    "h": 271.9
  },
  "luminance": 0.04194
}

Semantic roles & 50–950 ramp

primary
#251BAD
secondary
#C2CA5A
accent
#F038E3
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0413
muted
#7C7982

Preview Lab

Preview with #251BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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