#251CA8#251CA8

#251CA8 is a dark, highly saturated blue. Relative luminance 0.041; OKLCH L 36.5% C 0.207 H 272.2°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#251CA8
RGBrgb(37, 28, 168)
HSLhsl(244, 71%, 38%)
HSVhsv(244, 83%, 66%)
CMYKcmyk(78%, 83.3%, 0%, 34.1%)
CIE-LABlab(23.84, 49.62, -71.36)
CIE-LCHlch(23.84, 86.92, 304.81°)
OKLaboklab(36.54% 0.008 -0.2065)
OKLCHoklch(36.54% 0.207 272.2)
XYZxyz(8.2437, 4.0501, 37.3855)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251CA8 #9FA81C
analogous
#1C59A8 #251CA8 #6B1CA8
triadic
#251CA8 #A8251C #1CA825
tetradic
#251CA8 #A81C59 #9FA81C #1CA86B
square
#251CA8 #A81C59 #9FA81C #1CA86B
split-complementary
#251CA8 #A86B1C #59A81C
monochromatic
#0E0B3F #191374 #251CA8 #3226DB #645BE4

Accessibility & contrast

On white

11.60
#251CA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#251CA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251CA8
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251CA8#FFFFFF#000000##FFFFFF
##251CA81.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FAC
Deuteranopia (green-blind)
#0032A6
Tritanopia (blue-blind)
#004964
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #251ca8;
/* rgb */ color: rgb(37, 28, 168);
/* oklch */ color: oklch(36.5% 0.207 272.2);
Tailwind
colors: {
  custom: {
    50: '#785dc3',
    500: '#251ca8',
    950: '#000000',
  },
}
SCSS
$custom: #251ca8;
$custom-light: #785dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#251ca8",
  "rgb": {
    "r": 37,
    "g": 28,
    "b": 168
  },
  "hsl": {
    "h": 243.857,
    "s": 71.429,
    "l": 38.431
  },
  "oklch": {
    "l": 0.36535,
    "c": 0.20662,
    "h": 272.2
  },
  "luminance": 0.04051
}

Semantic roles & 50–950 ramp

primary
#251CA8
secondary
#C0C758
accent
#EE3AE3
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0413
muted
#7C7982

Preview Lab

Preview with #251CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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