#051946#051946

#051946 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.1% C 0.089 H 262.7°. Best body text is #FFFFFF at 17.02:1 contrast (WCAG AA passes).

Color values

HEX#051946
RGBrgb(5, 25, 70)
HSLhsl(222, 87%, 15%)
HSVhsv(222, 93%, 27%)
CMYKcmyk(92.9%, 64.3%, 0%, 72.5%)
CIE-LABlab(10.33, 12.35, -30.45)
CIE-LCHlch(10.33, 32.86, 292.07°)
OKLaboklab(23.14% -0.0113 -0.088)
OKLCHoklch(23.14% 0.089 262.7)
XYZxyz(1.5153, 1.1695, 5.9390)
Luminance0.0117 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#051946 #463205
analogous
#053A46 #051946 #110546
triadic
#051946 #460519 #194605
tetradic
#051946 #46053A #463205 #054611
square
#051946 #46053A #463205 #054611
split-complementary
#051946 #461105 #3A4605
monochromatic
#020A1D #020A1D #051946 #092D7F #0D42B8

Accessibility & contrast

On white

17.02
#051946 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#051946 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #051946
17.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##051946#FFFFFF#000000##FFFFFF
##0519461.0017.021.2317.02
#FFFFFF17.021.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F48
Deuteranopia (green-blind)
#001945
Tritanopia (blue-blind)
#00242C
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #051946;
/* rgb */ color: rgb(5, 25, 70);
/* oklch */ color: oklch(23.1% 0.089 262.7);
Tailwind
colors: {
  custom: {
    50: '#53557a',
    500: '#051946',
    950: '#000000',
  },
}
SCSS
$custom: #051946;
$custom-light: #53557a;
$custom-dark: #000000;
JSON
{
  "hex": "#051946",
  "rgb": {
    "r": 5,
    "g": 25,
    "b": 70
  },
  "hsl": {
    "h": 221.538,
    "s": 86.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.2314,
    "c": 0.08875,
    "h": 262.7
  },
  "luminance": 0.0117
}

Semantic roles & 50–950 ramp

primary
#051946
secondary
#866721
accent
#BC2BFD
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030209
muted
#78787B

Preview Lab

Preview with #051946

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

Preview Lab → · Contrast checker → · Palette generator →

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