#051337#051337

#051337 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.1% C 0.073 H 263.9°. Best body text is #FFFFFF at 18.18:1 contrast (WCAG AA passes).

Color values

HEX#051337
RGBrgb(5, 19, 55)
HSLhsl(223, 83%, 12%)
HSVhsv(223, 91%, 22%)
CMYKcmyk(90.9%, 65.5%, 0%, 78.4%)
CIE-LABlab(6.99, 9.91, -25.21)
CIE-LCHlch(6.99, 27.09, 291.47°)
OKLaboklab(20.14% -0.0078 -0.073)
OKLCHoklch(20.14% 0.073 263.9)
XYZxyz(0.9848, 0.7737, 3.7111)
Luminance0.0077 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#051337 #372905
analogous
#052C37 #051337 #100537
triadic
#051337 #370513 #133705
tetradic
#051337 #37052C #372905 #053710
square
#051337 #37052C #372905 #053710
split-complementary
#051337 #371005 #2C3705
monochromatic
#030A1C #030A1C #051337 #0A266F #0F3AA7

Accessibility & contrast

On white

18.18
#051337 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#051337 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #051337
18.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##051337#FFFFFF#000000##FFFFFF
##0513371.0018.181.1518.18
#FFFFFF18.181.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001838
Deuteranopia (green-blind)
#001336
Tritanopia (blue-blind)
#001C22
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #051337;
/* rgb */ color: rgb(5, 19, 55);
/* oklch */ color: oklch(20.1% 0.073 263.9);
Tailwind
colors: {
  custom: {
    50: '#4e506e',
    500: '#051337',
    950: '#000000',
  },
}
SCSS
$custom: #051337;
$custom-light: #4e506e;
$custom-dark: #000000;
JSON
{
  "hex": "#051337",
  "rgb": {
    "r": 5,
    "g": 19,
    "b": 55
  },
  "hsl": {
    "h": 223.2,
    "s": 83.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.20141,
    "c": 0.07341,
    "h": 263.9
  },
  "luminance": 0.00774
}

Semantic roles & 50–950 ramp

primary
#051337
secondary
#785F20
accent
#C12EFA
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020207
muted
#78787A

Preview Lab

Preview with #051337

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

Preview Lab → · Contrast checker → · Palette generator →

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