#251684#251684

#251684 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.6% C 0.169 H 276.8°. Best body text is #FFFFFF at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#251684
RGBrgb(37, 22, 132)
HSLhsl(248, 71%, 30%)
HSVhsv(248, 83%, 52%)
CMYKcmyk(72%, 83.3%, 0%, 48.2%)
CIE-LABlab(18.51, 41.23, -57.97)
CIE-LCHlch(18.51, 71.14, 305.43°)
OKLaboklab(31.59% 0.02 -0.1675)
OKLCHoklch(31.59% 0.169 276.8)
XYZxyz(5.2134, 2.6326, 22.0587)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251684 #758416
analogous
#163E84 #251684 #5C1684
triadic
#251684 #842516 #168425
tetradic
#251684 #84163E #758416 #16845C
square
#251684 #84163E #758416 #16845C
split-complementary
#251684 #845C16 #3E8416
monochromatic
#08051B #160D50 #251684 #341FB8 #4E37DE

Accessibility & contrast

On white

13.76
#251684 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#251684 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251684
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251684#FFFFFF#000000##FFFFFF
##2516841.0013.761.5313.76
#FFFFFF13.761.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003287
Deuteranopia (green-blind)
#002882
Tritanopia (blue-blind)
#00384E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #251684;
/* rgb */ color: rgb(37, 22, 132);
/* oklch */ color: oklch(31.6% 0.169 276.8);
Tailwind
colors: {
  custom: {
    50: '#7057a9',
    500: '#251684',
    950: '#000000',
  },
}
SCSS
$custom: #251684;
$custom-light: #7057a9;
$custom-dark: #000000;
JSON
{
  "hex": "#251684",
  "rgb": {
    "r": 37,
    "g": 22,
    "b": 132
  },
  "hsl": {
    "h": 248.182,
    "s": 71.429,
    "l": 30.196
  },
  "oklch": {
    "l": 0.31589,
    "c": 0.1687,
    "h": 276.8
  },
  "luminance": 0.02633
}

Semantic roles & 50–950 ramp

primary
#251684
secondary
#A8B83D
accent
#EE3AD6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #251684

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

Preview Lab → · Contrast checker → · Palette generator →

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