#251A96#251A96

#251A96 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 34.2% C 0.187 H 274.1°. Best body text is #FFFFFF at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#251A96
RGBrgb(37, 26, 150)
HSLhsl(245, 70%, 35%)
HSVhsv(245, 83%, 59%)
CMYKcmyk(75.3%, 82.7%, 0%, 41.2%)
CIE-LABlab(21.33, 44.96, -64.52)
CIE-LCHlch(21.33, 78.64, 304.87°)
OKLaboklab(34.17% 0.0133 -0.1866)
OKLCHoklch(34.17% 0.187 274.1)
XYZxyz(6.6355, 3.3334, 29.1420)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251A96 #8B961A
analogous
#1A4D96 #251A96 #631A96
triadic
#251A96 #96251A #1A9625
tetradic
#251A96 #961A4D #8B961A #1A9663
square
#251A96 #961A4D #8B961A #1A9663
split-complementary
#251A96 #96631A #4D961A
monochromatic
#0B082E #181162 #251A96 #3223CA #584BE0

Accessibility & contrast

On white

12.60
#251A96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#251A96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251A96
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251A96#FFFFFF#000000##FFFFFF
##251A961.0012.601.6712.60
#FFFFFF12.601.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003999
Deuteranopia (green-blind)
#002D94
Tritanopia (blue-blind)
#004159
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #251a96;
/* rgb */ color: rgb(37, 26, 150);
/* oklch */ color: oklch(34.2% 0.187 274.1);
Tailwind
colors: {
  custom: {
    50: '#745bb6',
    500: '#251a96',
    950: '#000000',
  },
}
SCSS
$custom: #251a96;
$custom-light: #745bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#251a96",
  "rgb": {
    "r": 37,
    "g": 26,
    "b": 150
  },
  "hsl": {
    "h": 245.323,
    "s": 70.455,
    "l": 34.51
  },
  "oklch": {
    "l": 0.34173,
    "c": 0.18708,
    "h": 274.1
  },
  "luminance": 0.03334
}

Semantic roles & 50–950 ramp

primary
#251A96
secondary
#B7C24A
accent
#ED3BDD
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #251A96

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

Preview Lab → · Contrast checker → · Palette generator →

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