#251993#251993

#251993 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.7% C 0.184 H 274.5°. Best body text is #FFFFFF at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#251993
RGBrgb(37, 25, 147)
HSLhsl(246, 71%, 34%)
HSVhsv(246, 83%, 58%)
CMYKcmyk(74.8%, 83%, 0%, 42.4%)
CIE-LABlab(20.81, 44.50, -63.54)
CIE-LCHlch(20.81, 77.58, 305.01°)
OKLaboklab(33.7% 0.0145 -0.1837)
OKLCHoklch(33.7% 0.184 274.5)
XYZxyz(6.3753, 3.1945, 27.8787)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251993 #879319
analogous
#194A93 #251993 #621993
triadic
#251993 #932519 #199325
tetradic
#251993 #93194A #879319 #199362
square
#251993 #93194A #879319 #199362
split-complementary
#251993 #936219 #4A9319
monochromatic
#0B072A #18105F #251993 #3222C7 #5647E0

Accessibility & contrast

On white

12.81
#251993 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#251993 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251993
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251993#FFFFFF#000000##FFFFFF
##2519931.0012.811.6412.81
#FFFFFF12.811.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003796
Deuteranopia (green-blind)
#002C91
Tritanopia (blue-blind)
#004057
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #251993;
/* rgb */ color: rgb(37, 25, 147);
/* oklch */ color: oklch(33.7% 0.184 274.5);
Tailwind
colors: {
  custom: {
    50: '#735ab4',
    500: '#251993',
    950: '#000000',
  },
}
SCSS
$custom: #251993;
$custom-light: #735ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#251993",
  "rgb": {
    "r": 37,
    "g": 25,
    "b": 147
  },
  "hsl": {
    "h": 245.902,
    "s": 70.93,
    "l": 33.725
  },
  "oklch": {
    "l": 0.33704,
    "c": 0.18431,
    "h": 274.5
  },
  "luminance": 0.03195
}

Semantic roles & 50–950 ramp

primary
#251993
secondary
#B5C147
accent
#EE3ADC
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #251993

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

Preview Lab → · Contrast checker → · Palette generator →

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