#251593#251593

#251593 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 33.3% C 0.187 H 274.8°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#251593
RGBrgb(37, 21, 147)
HSLhsl(248, 75%, 33%)
HSVhsv(248, 86%, 58%)
CMYKcmyk(74.8%, 85.7%, 0%, 42.4%)
CIE-LABlab(20.19, 46.33, -64.57)
CIE-LCHlch(20.19, 79.47, 305.66°)
OKLaboklab(33.28% 0.0158 -0.1866)
OKLCHoklch(33.28% 0.187 274.8)
XYZxyz(6.2958, 3.0356, 27.8522)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251593 #839315
analogous
#154493 #251593 #641593
triadic
#251593 #932515 #159325
tetradic
#251593 #931544 #839315 #159364
square
#251593 #931544 #839315 #159364
split-complementary
#251593 #936415 #449315
monochromatic
#0A0628 #180D5D #251593 #321DC9 #543FE4

Accessibility & contrast

On white

13.07
#251593 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#251593 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251593
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251593#FFFFFF#000000##FFFFFF
##2515931.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003696
Deuteranopia (green-blind)
#002B91
Tritanopia (blue-blind)
#003E56
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #251593;
/* rgb */ color: rgb(37, 21, 147);
/* oklch */ color: oklch(33.3% 0.187 274.8);
Tailwind
colors: {
  custom: {
    50: '#7458b4',
    500: '#251593',
    950: '#000000',
  },
}
SCSS
$custom: #251593;
$custom-light: #7458b4;
$custom-dark: #000000;
JSON
{
  "hex": "#251593",
  "rgb": {
    "r": 37,
    "g": 21,
    "b": 147
  },
  "hsl": {
    "h": 247.619,
    "s": 75,
    "l": 32.941
  },
  "oklch": {
    "l": 0.33276,
    "c": 0.18731,
    "h": 274.8
  },
  "luminance": 0.03036
}

Semantic roles & 50–950 ramp

primary
#251593
secondary
#B3C440
accent
#F236DA
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0311
muted
#7C7880

Preview Lab

Preview with #251593

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

Preview Lab → · Contrast checker → · Palette generator →

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