#251893#251893

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

Color values

HEX#251893
RGBrgb(37, 24, 147)
HSLhsl(246, 72%, 34%)
HSVhsv(246, 84%, 58%)
CMYKcmyk(74.8%, 83.7%, 0%, 42.4%)
CIE-LABlab(20.64, 44.98, -63.81)
CIE-LCHlch(20.64, 78.07, 305.18°)
OKLaboklab(33.59% 0.0148 -0.1845)
OKLCHoklch(33.59% 0.185 274.6)
XYZxyz(6.3543, 3.1525, 27.8717)
Luminance0.0315 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251893 #869318
analogous
#184993 #251893 #621893
triadic
#251893 #932518 #189325
tetradic
#251893 #931849 #869318 #189362
square
#251893 #931849 #869318 #189362
split-complementary
#251893 #936218 #499318
monochromatic
#0B072A #180F5E #251893 #3221C8 #5545E1

Accessibility & contrast

On white

12.88
#251893 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #251893
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251893#FFFFFF#000000##FFFFFF
##2518931.0012.881.6312.88
#FFFFFF12.881.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #251893;
/* rgb */ color: rgb(37, 24, 147);
/* oklch */ color: oklch(33.6% 0.185 274.6);
Tailwind
colors: {
  custom: {
    50: '#7359b4',
    500: '#251893',
    950: '#000000',
  },
}
SCSS
$custom: #251893;
$custom-light: #7359b4;
$custom-dark: #000000;
JSON
{
  "hex": "#251893",
  "rgb": {
    "r": 37,
    "g": 24,
    "b": 147
  },
  "hsl": {
    "h": 246.341,
    "s": 71.93,
    "l": 33.529
  },
  "oklch": {
    "l": 0.33592,
    "c": 0.18509,
    "h": 274.6
  },
  "luminance": 0.03153
}

Semantic roles & 50–950 ramp

primary
#251893
secondary
#B4C245
accent
#EF39DB
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #251893

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

Preview Lab → · Contrast checker → · Palette generator →

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