#251986#251986

#251986 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.2% C 0.169 H 276.1°. Best body text is #FFFFFF at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#251986
RGBrgb(37, 25, 134)
HSLhsl(247, 69%, 31%)
HSVhsv(247, 81%, 53%)
CMYKcmyk(72.4%, 81.3%, 0%, 47.5%)
CIE-LABlab(19.26, 40.36, -57.98)
CIE-LCHlch(19.26, 70.64, 304.84°)
OKLaboklab(32.18% 0.018 -0.1676)
OKLCHoklch(32.18% 0.169 276.1)
XYZxyz(5.4122, 2.8093, 22.8067)
Luminance0.0281 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251986 #7A8619
analogous
#194386 #251986 #5B1986
triadic
#251986 #862519 #198625
tetradic
#251986 #861943 #7A8619 #19865B
square
#251986 #861943 #7A8619 #19865B
split-complementary
#251986 #865B19 #438619
monochromatic
#09061F #170F52 #251986 #3323BA #503EDB

Accessibility & contrast

On white

13.44
#251986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #251986
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251986#FFFFFF#000000##FFFFFF
##2519861.0013.441.5613.44
#FFFFFF13.441.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003389
Deuteranopia (green-blind)
#002A84
Tritanopia (blue-blind)
#003A50
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #251986;
/* rgb */ color: rgb(37, 25, 134);
/* oklch */ color: oklch(32.2% 0.169 276.1);
Tailwind
colors: {
  custom: {
    50: '#7059aa',
    500: '#251986',
    950: '#000000',
  },
}
SCSS
$custom: #251986;
$custom-light: #7059aa;
$custom-dark: #000000;
JSON
{
  "hex": "#251986",
  "rgb": {
    "r": 37,
    "g": 25,
    "b": 134
  },
  "hsl": {
    "h": 246.606,
    "s": 68.553,
    "l": 31.176
  },
  "oklch": {
    "l": 0.32183,
    "c": 0.16856,
    "h": 276.1
  },
  "luminance": 0.0281
}

Semantic roles & 50–950 ramp

primary
#251986
secondary
#ACBA41
accent
#EB3CD8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #251986

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

Preview Lab → · Contrast checker → · Palette generator →

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