#251583#251583

#251583 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.4% C 0.168 H 277.1°. Best body text is #FFFFFF at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#251583
RGBrgb(37, 21, 131)
HSLhsl(249, 72%, 30%)
HSVhsv(249, 84%, 51%)
CMYKcmyk(71.8%, 84%, 0%, 48.6%)
CIE-LABlab(18.22, 41.40, -57.81)
CIE-LCHlch(18.22, 71.10, 305.61°)
OKLaboklab(31.36% 0.0207 -0.167)
OKLCHoklch(31.36% 0.168 277.1)
XYZxyz(5.1265, 2.5679, 21.6938)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251583 #738315
analogous
#153C83 #251583 #5C1583
triadic
#251583 #832515 #158325
tetradic
#251583 #83153C #738315 #15835C
square
#251583 #83153C #738315 #15835C
split-complementary
#251583 #835C15 #3C8315
monochromatic
#07041A #160D4E #251583 #341DB8 #4D34DE

Accessibility & contrast

On white

13.87
#251583 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#251583 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251583
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251583#FFFFFF#000000##FFFFFF
##2515831.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003186
Deuteranopia (green-blind)
#002881
Tritanopia (blue-blind)
#00384D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #251583;
/* rgb */ color: rgb(37, 21, 131);
/* oklch */ color: oklch(31.4% 0.168 277.1);
Tailwind
colors: {
  custom: {
    50: '#7057a8',
    500: '#251583',
    950: '#000000',
  },
}
SCSS
$custom: #251583;
$custom-light: #7057a8;
$custom-dark: #000000;
JSON
{
  "hex": "#251583",
  "rgb": {
    "r": 37,
    "g": 21,
    "b": 131
  },
  "hsl": {
    "h": 248.727,
    "s": 72.368,
    "l": 29.804
  },
  "oklch": {
    "l": 0.31356,
    "c": 0.16832,
    "h": 277.1
  },
  "luminance": 0.02568
}

Semantic roles & 50–950 ramp

primary
#251583
secondary
#A6B83C
accent
#EF39D5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #251583

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

Preview Lab → · Contrast checker → · Palette generator →

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