#251968#251968

#251968 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.9% C 0.130 H 281.4°. Best body text is #FFFFFF at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#251968
RGBrgb(37, 25, 104)
HSLhsl(249, 61%, 25%)
HSVhsv(249, 76%, 41%)
CMYKcmyk(64.4%, 76%, 0%, 59.2%)
CIE-LABlab(15.94, 30.37, -44.18)
CIE-LCHlch(15.94, 53.61, 304.50°)
OKLaboklab(28.85% 0.0257 -0.1274)
OKLCHoklch(28.85% 0.13 281.4)
XYZxyz(3.6085, 2.0878, 13.3069)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251968 #5C6819
analogous
#193468 #251968 #4C1968
triadic
#251968 #682519 #196825
tetradic
#251968 #681934 #5C6819 #19684C
square
#251968 #681934 #5C6819 #19684C
split-complementary
#251968 #684C19 #346819
monochromatic
#090619 #130D37 #251968 #372599 #4831CB

Accessibility & contrast

On white

14.81
#251968 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#251968 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251968
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251968#FFFFFF#000000##FFFFFF
##2519681.0014.811.4214.81
#FFFFFF14.811.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6A
Deuteranopia (green-blind)
#002567
Tritanopia (blue-blind)
#002F3E
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #251968;
/* rgb */ color: rgb(37, 25, 104);
/* oklch */ color: oklch(28.9% 0.130 281.4);
Tailwind
colors: {
  custom: {
    50: '#695794',
    500: '#251968',
    950: '#000000',
  },
}
SCSS
$custom: #251968;
$custom-light: #695794;
$custom-dark: #000000;
JSON
{
  "hex": "#251968",
  "rgb": {
    "r": 37,
    "g": 25,
    "b": 104
  },
  "hsl": {
    "h": 249.114,
    "s": 61.24,
    "l": 25.294
  },
  "oklch": {
    "l": 0.28855,
    "c": 0.12994,
    "h": 281.4
  },
  "luminance": 0.02088
}

Semantic roles & 50–950 ramp

primary
#251968
secondary
#8F9E3F
accent
#E443CC
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #251968

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

Preview Lab → · Contrast checker → · Palette generator →

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