#251682#251682

#251682 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.4% C 0.166 H 277.1°. Best body text is #FFFFFF at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#251682
RGBrgb(37, 22, 130)
HSLhsl(248, 71%, 30%)
HSVhsv(248, 83%, 51%)
CMYKcmyk(71.5%, 83.1%, 0%, 49%)
CIE-LABlab(18.27, 40.60, -57.10)
CIE-LCHlch(18.27, 70.06, 305.42°)
OKLaboklab(31.35% 0.0206 -0.165)
OKLCHoklch(31.35% 0.166 277.1)
XYZxyz(5.0778, 2.5784, 21.3448)
Luminance0.0258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251682 #738216
analogous
#163D82 #251682 #5B1682
triadic
#251682 #822516 #168225
tetradic
#251682 #82163D #738216 #16825B
square
#251682 #82163D #738216 #16825B
split-complementary
#251682 #825B16 #3D8216
monochromatic
#07041A #160D4E #251682 #341FB6 #4D35DD

Accessibility & contrast

On white

13.85
#251682 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#251682 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251682
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251682#FFFFFF#000000##FFFFFF
##2516821.0013.851.5213.85
#FFFFFF13.851.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003185
Deuteranopia (green-blind)
#002880
Tritanopia (blue-blind)
#00384D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #251682;
/* rgb */ color: rgb(37, 22, 130);
/* oklch */ color: oklch(31.4% 0.166 277.1);
Tailwind
colors: {
  custom: {
    50: '#6f57a8',
    500: '#251682',
    950: '#000000',
  },
}
SCSS
$custom: #251682;
$custom-light: #6f57a8;
$custom-dark: #000000;
JSON
{
  "hex": "#251682",
  "rgb": {
    "r": 37,
    "g": 22,
    "b": 130
  },
  "hsl": {
    "h": 248.333,
    "s": 71.053,
    "l": 29.804
  },
  "oklch": {
    "l": 0.31354,
    "c": 0.16627,
    "h": 277.1
  },
  "luminance": 0.02579
}

Semantic roles & 50–950 ramp

primary
#251682
secondary
#A6B73D
accent
#EE3AD5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #251682

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

Preview Lab → · Contrast checker → · Palette generator →

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