#251590#251590

#251590 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.9% C 0.184 H 275.2°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#251590
RGBrgb(37, 21, 144)
HSLhsl(248, 75%, 32%)
HSVhsv(248, 85%, 56%)
CMYKcmyk(74.3%, 85.4%, 0%, 43.5%)
CIE-LABlab(19.81, 45.42, -63.33)
CIE-LCHlch(19.81, 77.93, 305.65°)
OKLaboklab(32.91% 0.0167 -0.183)
OKLCHoklch(32.91% 0.184 275.2)
XYZxyz(6.0635, 2.9427, 26.6286)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251590 #809015
analogous
#154290 #251590 #631590
triadic
#251590 #902515 #159025
tetradic
#251590 #901542 #809015 #159063
square
#251590 #901542 #809015 #159063
split-complementary
#251590 #906315 #429015
monochromatic
#0A0525 #170D5B #251590 #331DC5 #523DE3

Accessibility & contrast

On white

13.22
#251590 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#251590 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251590
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251590#FFFFFF#000000##FFFFFF
##2515901.0013.221.5913.22
#FFFFFF13.221.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003593
Deuteranopia (green-blind)
#002A8E
Tritanopia (blue-blind)
#003D55
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #251590;
/* rgb */ color: rgb(37, 21, 144);
/* oklch */ color: oklch(32.9% 0.184 275.2);
Tailwind
colors: {
  custom: {
    50: '#7358b2',
    500: '#251590',
    950: '#000000',
  },
}
SCSS
$custom: #251590;
$custom-light: #7358b2;
$custom-dark: #000000;
JSON
{
  "hex": "#251590",
  "rgb": {
    "r": 37,
    "g": 21,
    "b": 144
  },
  "hsl": {
    "h": 247.805,
    "s": 74.545,
    "l": 32.353
  },
  "oklch": {
    "l": 0.32913,
    "c": 0.18381,
    "h": 275.2
  },
  "luminance": 0.02943
}

Semantic roles & 50–950 ramp

primary
#251590
secondary
#B1C23E
accent
#F137D9
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #251590

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

Preview Lab → · Contrast checker → · Palette generator →

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