#251E8A#251E8A

#251E8A is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.3% C 0.169 H 275.0°. Best body text is #FFFFFF at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#251E8A
RGBrgb(37, 30, 138)
HSLhsl(244, 64%, 33%)
HSVhsv(244, 78%, 54%)
CMYKcmyk(73.2%, 78.3%, 0%, 45.9%)
CIE-LABlab(20.66, 38.98, -58.18)
CIE-LCHlch(20.66, 70.03, 303.82°)
OKLaboklab(33.3% 0.0146 -0.1682)
OKLCHoklch(33.3% 0.169 275)
XYZxyz(5.8132, 3.1563, 24.3427)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251E8A #838A1E
analogous
#1E4D8A #251E8A #5B1E8A
triadic
#251E8A #8A251E #1E8A25
tetradic
#251E8A #8A1E4D #838A1E #1E8A5B
square
#251E8A #8A1E4D #838A1E #1E8A5B
split-complementary
#251E8A #8A5B1E #4D8A1E
monochromatic
#0A0825 #181358 #251E8A #3229BC #544BD8

Accessibility & contrast

On white

12.87
#251E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#251E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251E8A
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251E8A#FFFFFF#000000##FFFFFF
##251E8A1.0012.871.6312.87
#FFFFFF12.871.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00368D
Deuteranopia (green-blind)
#002D88
Tritanopia (blue-blind)
#003E53
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #251e8a;
/* rgb */ color: rgb(37, 30, 138);
/* oklch */ color: oklch(33.3% 0.169 275.0);
Tailwind
colors: {
  custom: {
    50: '#715cad',
    500: '#251e8a',
    950: '#000000',
  },
}
SCSS
$custom: #251e8a;
$custom-light: #715cad;
$custom-dark: #000000;
JSON
{
  "hex": "#251e8a",
  "rgb": {
    "r": 37,
    "g": 30,
    "b": 138
  },
  "hsl": {
    "h": 243.889,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.33295,
    "c": 0.16889,
    "h": 275
  },
  "luminance": 0.03157
}

Semantic roles & 50–950 ramp

primary
#251E8A
secondary
#B3BA4A
accent
#E741DC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #251E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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