#251EB3#251EB3

#251EB3 is a dark, highly saturated blue. Relative luminance 0.046; OKLCH L 38.1% C 0.218 H 271.3°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#251EB3
RGBrgb(37, 30, 179)
HSLhsl(243, 71%, 41%)
HSVhsv(243, 83%, 70%)
CMYKcmyk(79.3%, 83.2%, 0%, 29.8%)
CIE-LABlab(25.49, 52.07, -75.23)
CIE-LCHlch(25.49, 91.50, 304.69°)
OKLaboklab(38.06% 0.0048 -0.2177)
OKLCHoklch(38.06% 0.218 271.3)
XYZxyz(9.3612, 4.5755, 43.0289)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251EB3 #ACB31E
analogous
#1E61B3 #251EB3 #6F1EB3
triadic
#251EB3 #B3251E #1EB325
tetradic
#251EB3 #B31E61 #ACB31E #1EB36F
square
#251EB3 #B31E61 #ACB31E #1EB36F
split-complementary
#251EB3 #B36F1E #61B31E
monochromatic
#0F0C4A #1A157F #251EB3 #3A32DD #6C66E5

Accessibility & contrast

On white

10.96
#251EB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#251EB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251EB3
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251EB3#FFFFFF#000000##FFFFFF
##251EB31.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B7
Deuteranopia (green-blind)
#0035B1
Tritanopia (blue-blind)
#004E6B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #251eb3;
/* rgb */ color: rgb(37, 30, 179);
/* oklch */ color: oklch(38.1% 0.218 271.3);
Tailwind
colors: {
  custom: {
    50: '#7b5fcb',
    500: '#251eb3',
    950: '#000000',
  },
}
SCSS
$custom: #251eb3;
$custom-light: #7b5fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#251eb3",
  "rgb": {
    "r": 37,
    "g": 30,
    "b": 179
  },
  "hsl": {
    "h": 242.819,
    "s": 71.292,
    "l": 40.98
  },
  "oklch": {
    "l": 0.38062,
    "c": 0.21776,
    "h": 271.3
  },
  "luminance": 0.04577
}

Semantic roles & 50–950 ramp

primary
#251EB3
secondary
#C6CB62
accent
#EE3AE6
background
#F8F5FC
surface
#EFE9F9
border
#CAC5D2
text
#0B0514
muted
#7C7982

Preview Lab

Preview with #251EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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