#251A91#251A91

#251A91 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.6% C 0.181 H 274.6°. Best body text is #FFFFFF at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#251A91
RGBrgb(37, 26, 145)
HSLhsl(246, 70%, 34%)
HSVhsv(246, 82%, 57%)
CMYKcmyk(74.5%, 82.1%, 0%, 43.1%)
CIE-LABlab(20.73, 43.38, -62.42)
CIE-LCHlch(20.73, 76.01, 304.80°)
OKLaboklab(33.59% 0.0146 -0.1805)
OKLCHoklch(33.59% 0.181 274.6)
XYZxyz(6.2415, 3.1758, 27.0666)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251A91 #86911A
analogous
#1A4A91 #251A91 #601A91
triadic
#251A91 #91251A #1A9125
tetradic
#251A91 #911A4A #86911A #1A9160
square
#251A91 #911A4A #86911A #1A9160
split-complementary
#251A91 #91601A #4A911A
monochromatic
#0B0729 #18115D #251A91 #3223C5 #5547DE

Accessibility & contrast

On white

12.84
#251A91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#251A91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251A91
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251A91#FFFFFF#000000##FFFFFF
##251A911.0012.841.6412.84
#FFFFFF12.841.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003794
Deuteranopia (green-blind)
#002C8F
Tritanopia (blue-blind)
#003F56
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #251a91;
/* rgb */ color: rgb(37, 26, 145);
/* oklch */ color: oklch(33.6% 0.181 274.6);
Tailwind
colors: {
  custom: {
    50: '#735ab3',
    500: '#251a91',
    950: '#000000',
  },
}
SCSS
$custom: #251a91;
$custom-light: #735ab3;
$custom-dark: #000000;
JSON
{
  "hex": "#251a91",
  "rgb": {
    "r": 37,
    "g": 26,
    "b": 145
  },
  "hsl": {
    "h": 245.546,
    "s": 69.591,
    "l": 33.529
  },
  "oklch": {
    "l": 0.33585,
    "c": 0.1811,
    "h": 274.6
  },
  "luminance": 0.03176
}

Semantic roles & 50–950 ramp

primary
#251A91
secondary
#B4C047
accent
#EC3BDC
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #251A91

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

Preview Lab → · Contrast checker → · Palette generator →

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