#251E92#251E92

#251E92 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.2% C 0.179 H 274.1°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#251E92
RGBrgb(37, 30, 146)
HSLhsl(244, 66%, 35%)
HSVhsv(244, 79%, 57%)
CMYKcmyk(74.7%, 79.5%, 0%, 42.7%)
CIE-LABlab(21.57, 41.64, -61.66)
CIE-LCHlch(21.57, 74.40, 304.03°)
OKLaboklab(34.2% 0.0127 -0.1784)
OKLCHoklch(34.2% 0.179 274.1)
XYZxyz(6.4138, 3.3965, 27.5061)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251E92 #8B921E
analogous
#1E5192 #251E92 #5F1E92
triadic
#251E92 #92251E #1E9225
tetradic
#251E92 #921E51 #8B921E #1E925F
square
#251E92 #921E51 #8B921E #1E925F
split-complementary
#251E92 #925F1E #51921E
monochromatic
#0B092C #18145F #251E92 #3228C5 #584FDB

Accessibility & contrast

On white

12.50
#251E92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#251E92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251E92
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251E92#FFFFFF#000000##FFFFFF
##251E921.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003995
Deuteranopia (green-blind)
#002E90
Tritanopia (blue-blind)
#004157
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #251e92;
/* rgb */ color: rgb(37, 30, 146);
/* oklch */ color: oklch(34.2% 0.179 274.1);
Tailwind
colors: {
  custom: {
    50: '#725cb3',
    500: '#251e92',
    950: '#000000',
  },
}
SCSS
$custom: #251e92;
$custom-light: #725cb3;
$custom-dark: #000000;
JSON
{
  "hex": "#251e92",
  "rgb": {
    "r": 37,
    "g": 30,
    "b": 146
  },
  "hsl": {
    "h": 243.621,
    "s": 65.909,
    "l": 34.51
  },
  "oklch": {
    "l": 0.34199,
    "c": 0.17882,
    "h": 274.1
  },
  "luminance": 0.03397
}

Semantic roles & 50–950 ramp

primary
#251E92
secondary
#B7BE4E
accent
#E93FDF
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #251E92

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

Preview Lab → · Contrast checker → · Palette generator →

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