#251EA1#251EA1

#251EA1 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.9% C 0.197 H 272.7°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#251EA1
RGBrgb(37, 30, 161)
HSLhsl(243, 69%, 37%)
HSVhsv(243, 81%, 63%)
CMYKcmyk(77%, 81.4%, 0%, 36.9%)
CIE-LABlab(23.32, 46.48, -67.97)
CIE-LCHlch(23.32, 82.34, 304.36°)
OKLaboklab(35.93% 0.0091 -0.1967)
OKLCHoklch(35.93% 0.197 272.7)
XYZxyz(7.6581, 3.8943, 34.0594)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251EA1 #9AA11E
analogous
#1E59A1 #251EA1 #661EA1
triadic
#251EA1 #A1251E #1EA125
tetradic
#251EA1 #A11E59 #9AA11E #1EA166
square
#251EA1 #A11E59 #9AA11E #1EA166
split-complementary
#251EA1 #A1661E #59A11E
monochromatic
#0D0B3A #19146D #251EA1 #3128D5 #6059E0

Accessibility & contrast

On white

11.80
#251EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#251EA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251EA1
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251EA1#FFFFFF#000000##FFFFFF
##251EA11.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA5
Deuteranopia (green-blind)
#00319F
Tritanopia (blue-blind)
#004760
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #251ea1;
/* rgb */ color: rgb(37, 30, 161);
/* oklch */ color: oklch(35.9% 0.197 272.7);
Tailwind
colors: {
  custom: {
    50: '#765ebe',
    500: '#251ea1',
    950: '#000000',
  },
}
SCSS
$custom: #251ea1;
$custom-light: #765ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#251ea1",
  "rgb": {
    "r": 37,
    "g": 30,
    "b": 161
  },
  "hsl": {
    "h": 243.206,
    "s": 68.586,
    "l": 37.451
  },
  "oklch": {
    "l": 0.35933,
    "c": 0.19689,
    "h": 272.7
  },
  "luminance": 0.03895
}

Semantic roles & 50–950 ramp

primary
#251EA1
secondary
#BEC457
accent
#EB3CE2
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #251EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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