#251973#251973

#251973 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.0% C 0.145 H 279.2°. Best body text is #FFFFFF at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#251973
RGBrgb(37, 25, 115)
HSLhsl(248, 64%, 27%)
HSVhsv(248, 78%, 45%)
CMYKcmyk(67.8%, 78.3%, 0%, 54.9%)
CIE-LABlab(17.11, 34.10, -49.42)
CIE-LCHlch(17.11, 60.04, 304.61°)
OKLaboklab(30.04% 0.0231 -0.1427)
OKLCHoklch(30.04% 0.145 279.2)
XYZxyz(4.2041, 2.3260, 16.4438)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251973 #677319
analogous
#193A73 #251973 #521973
triadic
#251973 #732519 #197325
tetradic
#251973 #73193A #677319 #197352
square
#251973 #73193A #677319 #197352
split-complementary
#251973 #735219 #3A7319
monochromatic
#080519 #150E41 #251973 #3524A5 #4934D3

Accessibility & contrast

On white

14.33
#251973 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#251973 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251973
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251973#FFFFFF#000000##FFFFFF
##2519731.0014.331.4714.33
#FFFFFF14.331.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D76
Deuteranopia (green-blind)
#002771
Tritanopia (blue-blind)
#003345
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #251973;
/* rgb */ color: rgb(37, 25, 115);
/* oklch */ color: oklch(30.0% 0.145 279.2);
Tailwind
colors: {
  custom: {
    50: '#6b589c',
    500: '#251973',
    950: '#000000',
  },
}
SCSS
$custom: #251973;
$custom-light: #6b589c;
$custom-dark: #000000;
JSON
{
  "hex": "#251973",
  "rgb": {
    "r": 37,
    "g": 25,
    "b": 115
  },
  "hsl": {
    "h": 248,
    "s": 64.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.30038,
    "c": 0.14453,
    "h": 279.2
  },
  "luminance": 0.02326
}

Semantic roles & 50–950 ramp

primary
#251973
secondary
#9AA840
accent
#E741D1
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030E
muted
#7A787E

Preview Lab

Preview with #251973

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

Preview Lab → · Contrast checker → · Palette generator →

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