#251490#251490

#251490 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.8% C 0.185 H 275.3°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#251490
RGBrgb(37, 20, 144)
HSLhsl(248, 76%, 32%)
HSVhsv(248, 86%, 56%)
CMYKcmyk(74.3%, 86.1%, 0%, 43.5%)
CIE-LABlab(19.67, 45.86, -63.57)
CIE-LCHlch(19.67, 78.38, 305.80°)
OKLaboklab(32.81% 0.017 -0.1837)
OKLCHoklch(32.81% 0.185 275.3)
XYZxyz(6.0455, 2.9066, 26.6226)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251490 #7F9014
analogous
#144190 #251490 #631490
triadic
#251490 #902514 #149025
tetradic
#251490 #901441 #7F9014 #149063
square
#251490 #901441 #7F9014 #149063
split-complementary
#251490 #906314 #419014
monochromatic
#090525 #170D5A #251490 #331BC6 #523BE4

Accessibility & contrast

On white

13.28
#251490 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#251490 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251490
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251490#FFFFFF#000000##FFFFFF
##2514901.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #251490;
/* rgb */ color: rgb(37, 20, 144);
/* oklch */ color: oklch(32.8% 0.185 275.3);
Tailwind
colors: {
  custom: {
    50: '#7357b2',
    500: '#251490',
    950: '#000000',
  },
}
SCSS
$custom: #251490;
$custom-light: #7357b2;
$custom-dark: #000000;
JSON
{
  "hex": "#251490",
  "rgb": {
    "r": 37,
    "g": 20,
    "b": 144
  },
  "hsl": {
    "h": 248.226,
    "s": 75.61,
    "l": 32.157
  },
  "oklch": {
    "l": 0.32812,
    "c": 0.18452,
    "h": 275.3
  },
  "luminance": 0.02907
}

Semantic roles & 50–950 ramp

primary
#251490
secondary
#B1C33D
accent
#F236D8
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #251490

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

Preview Lab → · Contrast checker → · Palette generator →

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