#251576#251576

#251576 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.8% C 0.152 H 279.3°. Best body text is #FFFFFF at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#251576
RGBrgb(37, 21, 118)
HSLhsl(250, 70%, 27%)
HSVhsv(250, 82%, 46%)
CMYKcmyk(68.6%, 82.2%, 0%, 53.7%)
CIE-LABlab(16.69, 37.27, -52.05)
CIE-LCHlch(16.69, 64.02, 305.60°)
OKLaboklab(29.84% 0.0247 -0.1503)
OKLCHoklch(29.84% 0.152 279.3)
XYZxyz(4.3001, 2.2373, 17.3413)
Luminance0.0224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251576 #667615
analogous
#153676 #251576 #561576
triadic
#251576 #762515 #157625
tetradic
#251576 #761536 #667615 #157656
square
#251576 #761536 #667615 #157656
split-complementary
#251576 #765615 #367615
monochromatic
#08051A #150C42 #251576 #351EAA #492CD9

Accessibility & contrast

On white

14.51
#251576 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#251576 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251576
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251576#FFFFFF#000000##FFFFFF
##2515761.0014.511.4514.51
#FFFFFF14.511.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D79
Deuteranopia (green-blind)
#002574
Tritanopia (blue-blind)
#003245
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #251576;
/* rgb */ color: rgb(37, 21, 118);
/* oklch */ color: oklch(29.8% 0.152 279.3);
Tailwind
colors: {
  custom: {
    50: '#6d569f',
    500: '#251576',
    950: '#000000',
  },
}
SCSS
$custom: #251576;
$custom-light: #6d569f;
$custom-dark: #000000;
JSON
{
  "hex": "#251576",
  "rgb": {
    "r": 37,
    "g": 21,
    "b": 118
  },
  "hsl": {
    "h": 249.897,
    "s": 69.784,
    "l": 27.255
  },
  "oklch": {
    "l": 0.2984,
    "c": 0.15233,
    "h": 279.3
  },
  "luminance": 0.02238
}

Semantic roles & 50–950 ramp

primary
#251576
secondary
#99AC3B
accent
#ED3BCF
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030F
muted
#7B787E

Preview Lab

Preview with #251576

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

Preview Lab → · Contrast checker → · Palette generator →

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