#251686#251686

#251686 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.8% C 0.171 H 276.5°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#251686
RGBrgb(37, 22, 134)
HSLhsl(248, 72%, 31%)
HSVhsv(248, 84%, 53%)
CMYKcmyk(72.4%, 83.6%, 0%, 47.5%)
CIE-LABlab(18.75, 41.86, -58.83)
CIE-LCHlch(18.75, 72.21, 305.43°)
OKLaboklab(31.83% 0.0194 -0.17)
OKLCHoklch(31.83% 0.171 276.5)
XYZxyz(5.3515, 2.6879, 22.7864)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251686 #778616
analogous
#163F86 #251686 #5D1686
triadic
#251686 #862516 #168625
tetradic
#251686 #86163F #778616 #16865D
square
#251686 #86163F #778616 #16865D
split-complementary
#251686 #865D16 #3F8616
monochromatic
#08051D #160D51 #251686 #341FBB #4E38DE

Accessibility & contrast

On white

13.66
#251686 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#251686 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251686
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251686#FFFFFF#000000##FFFFFF
##2516861.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003289
Deuteranopia (green-blind)
#002984
Tritanopia (blue-blind)
#00394F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #251686;
/* rgb */ color: rgb(37, 22, 134);
/* oklch */ color: oklch(31.8% 0.171 276.5);
Tailwind
colors: {
  custom: {
    50: '#7057aa',
    500: '#251686',
    950: '#000000',
  },
}
SCSS
$custom: #251686;
$custom-light: #7057aa;
$custom-dark: #000000;
JSON
{
  "hex": "#251686",
  "rgb": {
    "r": 37,
    "g": 22,
    "b": 134
  },
  "hsl": {
    "h": 248.036,
    "s": 71.795,
    "l": 30.588
  },
  "oklch": {
    "l": 0.31825,
    "c": 0.17113,
    "h": 276.5
  },
  "luminance": 0.02688
}

Semantic roles & 50–950 ramp

primary
#251686
secondary
#A9BA3E
accent
#EF39D6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #251686

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

Preview Lab → · Contrast checker → · Palette generator →

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