#251BB3#251BB3

#251BB3 is a dark, highly saturated blue. Relative luminance 0.044; OKLCH L 37.8% C 0.220 H 271.4°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#251BB3
RGBrgb(37, 27, 179)
HSLhsl(244, 74%, 40%)
HSVhsv(244, 85%, 70%)
CMYKcmyk(79.3%, 84.9%, 0%, 29.8%)
CIE-LABlab(25.05, 53.38, -75.97)
CIE-LCHlch(25.05, 92.85, 305.09°)
OKLaboklab(37.76% 0.0054 -0.2198)
OKLCHoklch(37.76% 0.22 271.4)
XYZxyz(9.2888, 4.4308, 43.0048)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251BB3 #A9B31B
analogous
#1B5DB3 #251BB3 #711BB3
triadic
#251BB3 #B3251B #1BB325
tetradic
#251BB3 #B31B5D #A9B31B #1BB371
square
#251BB3 #B31B5D #A9B31B #1BB371
split-complementary
#251BB3 #B3711B #5DB31B
monochromatic
#0F0B49 #1A137E #251BB3 #382CDF #6A61E7

Accessibility & contrast

On white

11.13
#251BB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#251BB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251BB3
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251BB3#FFFFFF#000000##FFFFFF
##251BB31.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #251bb3;
/* rgb */ color: rgb(37, 27, 179);
/* oklch */ color: oklch(37.8% 0.220 271.4);
Tailwind
colors: {
  custom: {
    50: '#7b5dcb',
    500: '#251bb3',
    950: '#000000',
  },
}
SCSS
$custom: #251bb3;
$custom-light: #7b5dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#251bb3",
  "rgb": {
    "r": 37,
    "g": 27,
    "b": 179
  },
  "hsl": {
    "h": 243.947,
    "s": 73.786,
    "l": 40.392
  },
  "oklch": {
    "l": 0.37758,
    "c": 0.21984,
    "h": 271.4
  },
  "luminance": 0.04432
}

Semantic roles & 50–950 ramp

primary
#251BB3
secondary
#C4CC5E
accent
#F037E4
background
#F8F5FC
surface
#EFE9F9
border
#CAC5D2
text
#0B0514
muted
#7C7982

Preview Lab

Preview with #251BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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