#251966#251966

#251966 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.6% C 0.127 H 281.9°. Best body text is #FFFFFF at 14.90:1 contrast (WCAG AA passes).

Color values

HEX#251966
RGBrgb(37, 25, 102)
HSLhsl(249, 61%, 25%)
HSVhsv(249, 75%, 40%)
CMYKcmyk(63.7%, 75.5%, 0%, 60%)
CIE-LABlab(15.74, 29.69, -43.20)
CIE-LCHlch(15.74, 52.42, 304.49°)
OKLaboklab(28.65% 0.0262 -0.1245)
OKLCHoklch(28.65% 0.127 281.9)
XYZxyz(3.5081, 2.0476, 12.7782)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251966 #5A6619
analogous
#193366 #251966 #4C1966
triadic
#251966 #662519 #196625
tetradic
#251966 #661933 #5A6619 #19664C
square
#251966 #661933 #5A6619 #19664C
split-complementary
#251966 #664C19 #336619
monochromatic
#090619 #130D35 #251966 #372597 #4931C8

Accessibility & contrast

On white

14.90
#251966 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#251966 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251966
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251966#FFFFFF#000000##FFFFFF
##2519661.0014.901.4114.90
#FFFFFF14.901.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A68
Deuteranopia (green-blind)
#002465
Tritanopia (blue-blind)
#002E3D
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #251966;
/* rgb */ color: rgb(37, 25, 102);
/* oklch */ color: oklch(28.6% 0.127 281.9);
Tailwind
colors: {
  custom: {
    50: '#695792',
    500: '#251966',
    950: '#000000',
  },
}
SCSS
$custom: #251966;
$custom-light: #695792;
$custom-dark: #000000;
JSON
{
  "hex": "#251966",
  "rgb": {
    "r": 37,
    "g": 25,
    "b": 102
  },
  "hsl": {
    "h": 249.351,
    "s": 60.63,
    "l": 24.902
  },
  "oklch": {
    "l": 0.28646,
    "c": 0.12723,
    "h": 281.9
  },
  "luminance": 0.02048
}

Semantic roles & 50–950 ramp

primary
#251966
secondary
#8D9C3F
accent
#E444CB
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #251966

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

Preview Lab → · Contrast checker → · Palette generator →

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