#251599#251599

#251599 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 34.0% C 0.194 H 274.1°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#251599
RGBrgb(37, 21, 153)
HSLhsl(247, 76%, 34%)
HSVhsv(247, 86%, 60%)
CMYKcmyk(75.8%, 86.3%, 0%, 40%)
CIE-LABlab(20.94, 48.14, -67.03)
CIE-LCHlch(20.94, 82.52, 305.69°)
OKLaboklab(34.01% 0.014 -0.1938)
OKLCHoklch(34.01% 0.194 274.1)
XYZxyz(6.7790, 3.2289, 30.3968)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251599 #899915
analogous
#154799 #251599 #671599
triadic
#251599 #992515 #159925
tetradic
#251599 #991547 #899915 #159967
square
#251599 #991547 #899915 #159967
split-complementary
#251599 #996715 #479915
monochromatic
#0B062D #180E63 #251599 #321CCF #5743E5

Accessibility & contrast

On white

12.76
#251599 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#251599 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251599
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251599#FFFFFF#000000##FFFFFF
##2515991.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00389C
Deuteranopia (green-blind)
#002C97
Tritanopia (blue-blind)
#00415A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #251599;
/* rgb */ color: rgb(37, 21, 153);
/* oklch */ color: oklch(34.0% 0.194 274.1);
Tailwind
colors: {
  custom: {
    50: '#7558b8',
    500: '#251599',
    950: '#000000',
  },
}
SCSS
$custom: #251599;
$custom-light: #7558b8;
$custom-dark: #000000;
JSON
{
  "hex": "#251599",
  "rgb": {
    "r": 37,
    "g": 21,
    "b": 153
  },
  "hsl": {
    "h": 247.273,
    "s": 75.862,
    "l": 34.118
  },
  "oklch": {
    "l": 0.34008,
    "c": 0.19427,
    "h": 274.1
  },
  "luminance": 0.0323
}

Semantic roles & 50–950 ramp

primary
#251599
secondary
#B6C644
accent
#F235DC
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #251599

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

Preview Lab → · Contrast checker → · Palette generator →

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