#251594#251594

#251594 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.4% C 0.188 H 274.7°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#251594
RGBrgb(37, 21, 148)
HSLhsl(248, 75%, 33%)
HSVhsv(248, 86%, 58%)
CMYKcmyk(75%, 85.8%, 0%, 42%)
CIE-LABlab(20.31, 46.63, -64.98)
CIE-LCHlch(20.31, 79.98, 305.67°)
OKLaboklab(33.4% 0.0155 -0.1878)
OKLCHoklch(33.4% 0.188 274.7)
XYZxyz(6.3746, 3.0671, 28.2673)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251594 #849415
analogous
#154494 #251594 #641594
triadic
#251594 #942515 #159425
tetradic
#251594 #941544 #849415 #159464
square
#251594 #941544 #849415 #159464
split-complementary
#251594 #946415 #449415
monochromatic
#0A0629 #180D5E #251594 #321DCA #5440E4

Accessibility & contrast

On white

13.01
#251594 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#251594 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251594
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251594#FFFFFF#000000##FFFFFF
##2515941.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003697
Deuteranopia (green-blind)
#002B92
Tritanopia (blue-blind)
#003F57
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #251594;
/* rgb */ color: rgb(37, 21, 148);
/* oklch */ color: oklch(33.4% 0.188 274.7);
Tailwind
colors: {
  custom: {
    50: '#7458b5',
    500: '#251594',
    950: '#000000',
  },
}
SCSS
$custom: #251594;
$custom-light: #7458b5;
$custom-dark: #000000;
JSON
{
  "hex": "#251594",
  "rgb": {
    "r": 37,
    "g": 21,
    "b": 148
  },
  "hsl": {
    "h": 247.559,
    "s": 75.148,
    "l": 33.137
  },
  "oklch": {
    "l": 0.33398,
    "c": 0.18849,
    "h": 274.7
  },
  "luminance": 0.03068
}

Semantic roles & 50–950 ramp

primary
#251594
secondary
#B3C441
accent
#F236DA
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #251594

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

Preview Lab → · Contrast checker → · Palette generator →

#251594 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva