#251990#251990

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

Color values

HEX#251990
RGBrgb(37, 25, 144)
HSLhsl(246, 70%, 33%)
HSVhsv(246, 83%, 56%)
CMYKcmyk(74.3%, 82.6%, 0%, 43.5%)
CIE-LABlab(20.45, 43.56, -62.27)
CIE-LCHlch(20.45, 76.00, 304.97°)
OKLaboklab(33.35% 0.0153 -0.1801)
OKLCHoklch(33.35% 0.181 274.9)
XYZxyz(6.1430, 3.1016, 26.6551)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251990 #849019
analogous
#194990 #251990 #601990
triadic
#251990 #902519 #199025
tetradic
#251990 #901949 #849019 #199060
square
#251990 #901949 #849019 #199060
split-complementary
#251990 #906019 #499019
monochromatic
#0A0728 #18105C #251990 #3222C4 #5445DF

Accessibility & contrast

On white

12.96
#251990 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#251990 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251990
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251990#FFFFFF#000000##FFFFFF
##2519901.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003693
Deuteranopia (green-blind)
#002C8E
Tritanopia (blue-blind)
#003E55
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #251990;
/* rgb */ color: rgb(37, 25, 144);
/* oklch */ color: oklch(33.4% 0.181 274.9);
Tailwind
colors: {
  custom: {
    50: '#725ab2',
    500: '#251990',
    950: '#000000',
  },
}
SCSS
$custom: #251990;
$custom-light: #725ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#251990",
  "rgb": {
    "r": 37,
    "g": 25,
    "b": 144
  },
  "hsl": {
    "h": 246.05,
    "s": 70.414,
    "l": 33.137
  },
  "oklch": {
    "l": 0.3335,
    "c": 0.18072,
    "h": 274.9
  },
  "luminance": 0.03102
}

Semantic roles & 50–950 ramp

primary
#251990
secondary
#B3C045
accent
#ED3BDB
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #251990

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

Preview Lab → · Contrast checker → · Palette generator →

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