#251790#251790

#251790 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 33.1% C 0.182 H 275.0°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#251790
RGBrgb(37, 23, 144)
HSLhsl(247, 72%, 33%)
HSVhsv(247, 84%, 56%)
CMYKcmyk(74.3%, 84%, 0%, 43.5%)
CIE-LABlab(20.12, 44.51, -62.82)
CIE-LCHlch(20.12, 76.99, 305.32°)
OKLaboklab(33.13% 0.016 -0.1816)
OKLCHoklch(33.13% 0.182 275)
XYZxyz(6.1017, 3.0191, 26.6413)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251790 #829017
analogous
#174690 #251790 #611790
triadic
#251790 #902517 #179025
tetradic
#251790 #901746 #829017 #179061
square
#251790 #901746 #829017 #179061
split-complementary
#251790 #906117 #469017
monochromatic
#0A0626 #170F5B #251790 #331FC5 #5341E1

Accessibility & contrast

On white

13.09
#251790 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#251790 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251790
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251790#FFFFFF#000000##FFFFFF
##2517901.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.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: #251790;
/* rgb */ color: rgb(37, 23, 144);
/* oklch */ color: oklch(33.1% 0.182 275.0);
Tailwind
colors: {
  custom: {
    50: '#7359b2',
    500: '#251790',
    950: '#000000',
  },
}
SCSS
$custom: #251790;
$custom-light: #7359b2;
$custom-dark: #000000;
JSON
{
  "hex": "#251790",
  "rgb": {
    "r": 37,
    "g": 23,
    "b": 144
  },
  "hsl": {
    "h": 246.942,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.33125,
    "c": 0.18231,
    "h": 275
  },
  "luminance": 0.0302
}

Semantic roles & 50–950 ramp

primary
#251790
secondary
#B2C142
accent
#EF39DA
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #251790

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

Preview Lab → · Contrast checker → · Palette generator →

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