#251992#251992

#251992 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.6% C 0.183 H 274.6°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#251992
RGBrgb(37, 25, 146)
HSLhsl(246, 71%, 34%)
HSVhsv(246, 83%, 57%)
CMYKcmyk(74.7%, 82.9%, 0%, 42.7%)
CIE-LABlab(20.69, 44.19, -63.12)
CIE-LCHlch(20.69, 77.05, 305.00°)
OKLaboklab(33.59% 0.0147 -0.1825)
OKLCHoklch(33.59% 0.183 274.6)
XYZxyz(6.2972, 3.1633, 27.4673)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251992 #869219
analogous
#194992 #251992 #611992
triadic
#251992 #922519 #199225
tetradic
#251992 #921949 #869219 #199261
square
#251992 #921949 #869219 #199261
split-complementary
#251992 #926119 #499219
monochromatic
#0B0729 #18105E #251992 #3222C6 #5546DF

Accessibility & contrast

On white

12.86
#251992 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#251992 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251992
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251992#FFFFFF#000000##FFFFFF
##2519921.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003795
Deuteranopia (green-blind)
#002C90
Tritanopia (blue-blind)
#003F56
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #251992;
/* rgb */ color: rgb(37, 25, 146);
/* oklch */ color: oklch(33.6% 0.183 274.6);
Tailwind
colors: {
  custom: {
    50: '#735ab3',
    500: '#251992',
    950: '#000000',
  },
}
SCSS
$custom: #251992;
$custom-light: #735ab3;
$custom-dark: #000000;
JSON
{
  "hex": "#251992",
  "rgb": {
    "r": 37,
    "g": 25,
    "b": 146
  },
  "hsl": {
    "h": 245.95,
    "s": 70.76,
    "l": 33.529
  },
  "oklch": {
    "l": 0.33586,
    "c": 0.18311,
    "h": 274.6
  },
  "luminance": 0.03164
}

Semantic roles & 50–950 ramp

primary
#251992
secondary
#B4C146
accent
#EE3ADC
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #251992

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

Preview Lab → · Contrast checker → · Palette generator →

#251992 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva