#251890#251890

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

Color values

HEX#251890
RGBrgb(37, 24, 144)
HSLhsl(247, 71%, 33%)
HSVhsv(247, 83%, 56%)
CMYKcmyk(74.3%, 83.3%, 0%, 43.5%)
CIE-LABlab(20.28, 44.04, -62.55)
CIE-LCHlch(20.28, 76.50, 305.15°)
OKLaboklab(33.24% 0.0157 -0.1808)
OKLCHoklch(33.24% 0.182 274.9)
XYZxyz(6.1220, 3.0596, 26.6481)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251890 #839018
analogous
#184790 #251890 #611890
triadic
#251890 #902518 #189025
tetradic
#251890 #901847 #839018 #189061
square
#251890 #901847 #839018 #189061
split-complementary
#251890 #906118 #479018
monochromatic
#0A0727 #180F5C #251890 #3221C4 #5443E0

Accessibility & contrast

On white

13.03
#251890 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #251890
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251890#FFFFFF#000000##FFFFFF
##2518901.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #251890;
/* rgb */ color: rgb(37, 24, 144);
/* oklch */ color: oklch(33.2% 0.182 274.9);
Tailwind
colors: {
  custom: {
    50: '#7359b2',
    500: '#251890',
    950: '#000000',
  },
}
SCSS
$custom: #251890;
$custom-light: #7359b2;
$custom-dark: #000000;
JSON
{
  "hex": "#251890",
  "rgb": {
    "r": 37,
    "g": 24,
    "b": 144
  },
  "hsl": {
    "h": 246.5,
    "s": 71.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.33236,
    "c": 0.18153,
    "h": 274.9
  },
  "luminance": 0.0306
}

Semantic roles & 50–950 ramp

primary
#251890
secondary
#B3C043
accent
#EE3ADB
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #251890

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

Preview Lab → · Contrast checker → · Palette generator →

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