#251CB3#251CB3

#251CB3 is a dark, highly saturated blue. Relative luminance 0.045; OKLCH L 37.9% C 0.219 H 271.4°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#251CB3
RGBrgb(37, 28, 179)
HSLhsl(244, 73%, 41%)
HSVhsv(244, 84%, 70%)
CMYKcmyk(79.3%, 84.4%, 0%, 29.8%)
CIE-LABlab(25.19, 52.95, -75.73)
CIE-LCHlch(25.19, 92.41, 304.96°)
OKLaboklab(37.86% 0.0052 -0.2191)
OKLCHoklch(37.86% 0.219 271.4)
XYZxyz(9.3121, 4.4774, 43.0125)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251CB3 #AAB31C
analogous
#1C5EB3 #251CB3 #701CB3
triadic
#251CB3 #B3251C #1CB325
tetradic
#251CB3 #B31C5E #AAB31C #1CB370
square
#251CB3 #B31C5E #AAB31C #1CB370
split-complementary
#251CB3 #B3701C #5EB31C
monochromatic
#0F0B49 #1A147E #251CB3 #382EDE #6B63E7

Accessibility & contrast

On white

11.08
#251CB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#251CB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251CB3
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251CB3#FFFFFF#000000##FFFFFF
##251CB31.0011.081.9011.08
#FFFFFF11.081.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043B7
Deuteranopia (green-blind)
#0034B1
Tritanopia (blue-blind)
#004E6A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #251cb3;
/* rgb */ color: rgb(37, 28, 179);
/* oklch */ color: oklch(37.9% 0.219 271.4);
Tailwind
colors: {
  custom: {
    50: '#7b5ecb',
    500: '#251cb3',
    950: '#000000',
  },
}
SCSS
$custom: #251cb3;
$custom-light: #7b5ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#251cb3",
  "rgb": {
    "r": 37,
    "g": 28,
    "b": 179
  },
  "hsl": {
    "h": 243.576,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.37857,
    "c": 0.21916,
    "h": 271.4
  },
  "luminance": 0.04478
}

Semantic roles & 50–950 ramp

primary
#251CB3
secondary
#C5CB5F
accent
#F038E5
background
#F8F5FC
surface
#EFE9F9
border
#CAC5D2
text
#0B0514
muted
#7C7982

Preview Lab

Preview with #251CB3

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

Preview Lab → · Contrast checker → · Palette generator →

#251CB3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva