#051948#051948

#051948 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.3% C 0.092 H 263.0°. Best body text is #FFFFFF at 16.95:1 contrast (WCAG AA passes).

Color values

HEX#051948
RGBrgb(5, 25, 72)
HSLhsl(222, 87%, 15%)
HSVhsv(222, 93%, 28%)
CMYKcmyk(93.1%, 65.3%, 0%, 71.8%)
CIE-LABlab(10.52, 13.28, -31.53)
CIE-LCHlch(10.52, 34.21, 292.83°)
OKLaboklab(23.34% -0.0111 -0.0912)
OKLCHoklch(23.34% 0.092 263)
XYZxyz(1.5795, 1.1952, 6.2771)
Luminance0.0120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#051948 #483405
analogous
#053A48 #051948 #130548
triadic
#051948 #480519 #194805
tetradic
#051948 #48053A #483405 #054813
square
#051948 #48053A #483405 #054813
split-complementary
#051948 #481305 #3A4805
monochromatic
#020A1D #020A1D #051948 #092D81 #0D41BA

Accessibility & contrast

On white

16.95
#051948 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#051948 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #051948
16.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##051948#FFFFFF#000000##FFFFFF
##0519481.0016.951.2416.95
#FFFFFF16.951.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204A
Deuteranopia (green-blind)
#001A47
Tritanopia (blue-blind)
#00252D
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #051948;
/* rgb */ color: rgb(5, 25, 72);
/* oklch */ color: oklch(23.3% 0.092 263.0);
Tailwind
colors: {
  custom: {
    50: '#53557b',
    500: '#051948',
    950: '#000000',
  },
}
SCSS
$custom: #051948;
$custom-light: #53557b;
$custom-dark: #000000;
JSON
{
  "hex": "#051948",
  "rgb": {
    "r": 5,
    "g": 25,
    "b": 72
  },
  "hsl": {
    "h": 222.09,
    "s": 87.013,
    "l": 15.098
  },
  "oklch": {
    "l": 0.23343,
    "c": 0.09189,
    "h": 263
  },
  "luminance": 0.01195
}

Semantic roles & 50–950 ramp

primary
#051948
secondary
#886921
accent
#BE2BFD
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#030209
muted
#78787B

Preview Lab

Preview with #051948

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

Preview Lab → · Contrast checker → · Palette generator →

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