#251190#251190

#251190 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.5% C 0.187 H 275.5°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#251190
RGBrgb(37, 17, 144)
HSLhsl(249, 79%, 32%)
HSVhsv(249, 88%, 56%)
CMYKcmyk(74.3%, 88.2%, 0%, 43.5%)
CIE-LABlab(19.25, 47.08, -64.25)
CIE-LCHlch(19.25, 79.66, 306.23°)
OKLaboklab(32.53% 0.0179 -0.1857)
OKLCHoklch(32.53% 0.187 275.5)
XYZxyz(5.9958, 2.8072, 26.6060)
Luminance0.0281 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251190 #7C9011
analogous
#113D90 #251190 #651190
triadic
#251190 #902511 #119025
tetradic
#251190 #90113D #7C9011 #119065
square
#251190 #90113D #7C9011 #119065
split-complementary
#251190 #906511 #3D9011
monochromatic
#090423 #170B59 #251190 #3317C7 #5034E7

Accessibility & contrast

On white

13.45
#251190 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#251190 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251190
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251190#FFFFFF#000000##FFFFFF
##2511901.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003493
Deuteranopia (green-blind)
#00298E
Tritanopia (blue-blind)
#003C54
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #251190;
/* rgb */ color: rgb(37, 17, 144);
/* oklch */ color: oklch(32.5% 0.187 275.5);
Tailwind
colors: {
  custom: {
    50: '#7356b2',
    500: '#251190',
    950: '#000000',
  },
}
SCSS
$custom: #251190;
$custom-light: #7356b2;
$custom-dark: #000000;
JSON
{
  "hex": "#251190",
  "rgb": {
    "r": 37,
    "g": 17,
    "b": 144
  },
  "hsl": {
    "h": 249.449,
    "s": 78.882,
    "l": 31.569
  },
  "oklch": {
    "l": 0.32531,
    "c": 0.18652,
    "h": 275.5
  },
  "luminance": 0.02808
}

Semantic roles & 50–950 ramp

primary
#251190
secondary
#AEC439
accent
#F532D7
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0311
muted
#7C7880

Preview Lab

Preview with #251190

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

Preview Lab → · Contrast checker → · Palette generator →

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