#251699#251699

#251699 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 34.1% C 0.194 H 274.0°. Best body text is #FFFFFF at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#251699
RGBrgb(37, 22, 153)
HSLhsl(247, 75%, 34%)
HSVhsv(247, 86%, 60%)
CMYKcmyk(75.8%, 85.6%, 0%, 40%)
CIE-LABlab(21.08, 47.72, -66.79)
CIE-LCHlch(21.08, 82.08, 305.54°)
OKLaboklab(34.11% 0.0137 -0.1931)
OKLCHoklch(34.11% 0.194 274)
XYZxyz(6.7977, 3.2663, 30.4030)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251699 #8A9916
analogous
#164999 #251699 #671699
triadic
#251699 #992516 #169925
tetradic
#251699 #991649 #8A9916 #169967
square
#251699 #991649 #8A9916 #169967
split-complementary
#251699 #996716 #499916
monochromatic
#0B072E #180E63 #251699 #321ECF #5745E4

Accessibility & contrast

On white

12.70
#251699 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #251699
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251699#FFFFFF#000000##FFFFFF
##2516991.0012.701.6512.70
#FFFFFF12.701.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #251699;
/* rgb */ color: rgb(37, 22, 153);
/* oklch */ color: oklch(34.1% 0.194 274.0);
Tailwind
colors: {
  custom: {
    50: '#7559b8',
    500: '#251699',
    950: '#000000',
  },
}
SCSS
$custom: #251699;
$custom-light: #7559b8;
$custom-dark: #000000;
JSON
{
  "hex": "#251699",
  "rgb": {
    "r": 37,
    "g": 22,
    "b": 153
  },
  "hsl": {
    "h": 246.87,
    "s": 74.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.34105,
    "c": 0.19359,
    "h": 274
  },
  "luminance": 0.03267
}

Semantic roles & 50–950 ramp

primary
#251699
secondary
#B7C546
accent
#F136DC
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #251699

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

Preview Lab → · Contrast checker → · Palette generator →

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