#251679#251679

#251679 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.3% C 0.155 H 278.6°. Best body text is #FFFFFF at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#251679
RGBrgb(37, 22, 121)
HSLhsl(249, 69%, 28%)
HSVhsv(249, 82%, 47%)
CMYKcmyk(69.4%, 81.8%, 0%, 52.5%)
CIE-LABlab(17.21, 37.72, -53.11)
CIE-LCHlch(17.21, 65.14, 305.38°)
OKLaboklab(30.31% 0.0233 -0.1534)
OKLCHoklch(30.31% 0.155 278.6)
XYZxyz(4.4999, 2.3472, 18.3014)
Luminance0.0235 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251679 #6A7916
analogous
#163879 #251679 #561679
triadic
#251679 #792516 #167925
tetradic
#251679 #791638 #6A7916 #167956
square
#251679 #791638 #6A7916 #167956
split-complementary
#251679 #795616 #387916
monochromatic
#08051A #150D45 #251679 #351FAD #4A30D9

Accessibility & contrast

On white

14.29
#251679 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#251679 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251679
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251679#FFFFFF#000000##FFFFFF
##2516791.0014.291.4714.29
#FFFFFF14.291.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E7C
Deuteranopia (green-blind)
#002677
Tritanopia (blue-blind)
#003447
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #251679;
/* rgb */ color: rgb(37, 22, 121);
/* oklch */ color: oklch(30.3% 0.155 278.6);
Tailwind
colors: {
  custom: {
    50: '#6d56a1',
    500: '#251679',
    950: '#000000',
  },
}
SCSS
$custom: #251679;
$custom-light: #6d56a1;
$custom-dark: #000000;
JSON
{
  "hex": "#251679",
  "rgb": {
    "r": 37,
    "g": 22,
    "b": 121
  },
  "hsl": {
    "h": 249.091,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.30309,
    "c": 0.15515,
    "h": 278.6
  },
  "luminance": 0.02348
}

Semantic roles & 50–950 ramp

primary
#251679
secondary
#9DAE3D
accent
#EC3CD1
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#08030F
muted
#7B787F

Preview Lab

Preview with #251679

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

Preview Lab → · Contrast checker → · Palette generator →

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