#251964#251964

#251964 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.4% C 0.124 H 282.3°. Best body text is #FFFFFF at 14.98:1 contrast (WCAG AA passes).

Color values

HEX#251964
RGBrgb(37, 25, 100)
HSLhsl(250, 60%, 25%)
HSVhsv(250, 75%, 39%)
CMYKcmyk(63%, 75%, 0%, 60.8%)
CIE-LABlab(15.53, 29.00, -42.22)
CIE-LCHlch(15.53, 51.22, 304.48°)
OKLaboklab(28.44% 0.0266 -0.1216)
OKLCHoklch(28.44% 0.125 282.3)
XYZxyz(3.4101, 2.0084, 12.2621)
Luminance0.0201 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251964 #586419
analogous
#193364 #251964 #4B1964
triadic
#251964 #642519 #196425
tetradic
#251964 #641933 #586419 #19644B
square
#251964 #641933 #586419 #19644B
split-complementary
#251964 #644B19 #336419
monochromatic
#090618 #130D33 #251964 #372595 #4931C6

Accessibility & contrast

On white

14.98
#251964 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#251964 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251964
14.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251964#FFFFFF#000000##FFFFFF
##2519641.0014.981.4014.98
#FFFFFF14.981.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002966
Deuteranopia (green-blind)
#002463
Tritanopia (blue-blind)
#002D3C
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #251964;
/* rgb */ color: rgb(37, 25, 100);
/* oklch */ color: oklch(28.4% 0.124 282.3);
Tailwind
colors: {
  custom: {
    50: '#685791',
    500: '#251964',
    950: '#000000',
  },
}
SCSS
$custom: #251964;
$custom-light: #685791;
$custom-dark: #000000;
JSON
{
  "hex": "#251964",
  "rgb": {
    "r": 37,
    "g": 25,
    "b": 100
  },
  "hsl": {
    "h": 249.6,
    "s": 60,
    "l": 24.51
  },
  "oklch": {
    "l": 0.28439,
    "c": 0.1245,
    "h": 282.3
  },
  "luminance": 0.02009
}

Semantic roles & 50–950 ramp

primary
#251964
secondary
#8B9A3F
accent
#E345CA
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #251964

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

Preview Lab → · Contrast checker → · Palette generator →

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