#251688#251688

#251688 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 32.1% C 0.174 H 276.2°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#251688
RGBrgb(37, 22, 136)
HSLhsl(248, 72%, 31%)
HSVhsv(248, 84%, 53%)
CMYKcmyk(72.8%, 83.8%, 0%, 46.7%)
CIE-LABlab(18.99, 42.49, -59.69)
CIE-LCHlch(18.99, 73.27, 305.45°)
OKLaboklab(32.06% 0.0188 -0.1725)
OKLCHoklch(32.06% 0.174 276.2)
XYZxyz(5.4923, 2.7442, 23.5280)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251688 #798816
analogous
#164088 #251688 #5E1688
triadic
#251688 #882516 #168825
tetradic
#251688 #881640 #798816 #16885E
square
#251688 #881640 #798816 #16885E
split-complementary
#251688 #885E16 #408816
monochromatic
#08051F #170D53 #251688 #331FBD #4F39DF

Accessibility & contrast

On white

13.56
#251688 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#251688 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251688
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251688#FFFFFF#000000##FFFFFF
##2516881.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00338B
Deuteranopia (green-blind)
#002986
Tritanopia (blue-blind)
#003A50
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #251688;
/* rgb */ color: rgb(37, 22, 136);
/* oklch */ color: oklch(32.1% 0.174 276.2);
Tailwind
colors: {
  custom: {
    50: '#7157ac',
    500: '#251688',
    950: '#000000',
  },
}
SCSS
$custom: #251688;
$custom-light: #7157ac;
$custom-dark: #000000;
JSON
{
  "hex": "#251688",
  "rgb": {
    "r": 37,
    "g": 22,
    "b": 136
  },
  "hsl": {
    "h": 247.895,
    "s": 72.152,
    "l": 30.98
  },
  "oklch": {
    "l": 0.32061,
    "c": 0.17354,
    "h": 276.2
  },
  "luminance": 0.02745
}

Semantic roles & 50–950 ramp

primary
#251688
secondary
#ABBC3E
accent
#EF39D7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #251688

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

Preview Lab → · Contrast checker → · Palette generator →

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