#051635#051635

#051635 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 20.7% C 0.066 H 260.5°. Best body text is #FFFFFF at 17.91:1 contrast (WCAG AA passes).

Color values

HEX#051635
RGBrgb(5, 22, 53)
HSLhsl(219, 83%, 11%)
HSVhsv(219, 91%, 21%)
CMYKcmyk(90.6%, 58.5%, 0%, 79.2%)
CIE-LABlab(7.80, 6.70, -22.45)
CIE-LCHlch(7.80, 23.43, 286.61°)
OKLaboklab(20.73% -0.0108 -0.0646)
OKLCHoklch(20.73% 0.066 260.5)
XYZxyz(0.9919, 0.8630, 3.4818)
Luminance0.0086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#051635 #352405
analogous
#052E35 #051635 #0C0535
triadic
#051635 #350516 #163505
tetradic
#051635 #35052E #352405 #05350C
square
#051635 #35052E #352405 #05350C
split-complementary
#051635 #350C05 #2E3505
monochromatic
#030C1C #030C1C #051635 #0A2D6D #1044A5

Accessibility & contrast

On white

17.91
#051635 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#051635 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #051635
17.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##051635#FFFFFF#000000##FFFFFF
##0516351.0017.911.1717.91
#FFFFFF17.911.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051936
Deuteranopia (green-blind)
#001534
Tritanopia (blue-blind)
#001D22
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #051635;
/* rgb */ color: rgb(5, 22, 53);
/* oklch */ color: oklch(20.7% 0.066 260.5);
Tailwind
colors: {
  custom: {
    50: '#4d526c',
    500: '#051635',
    950: '#000000',
  },
}
SCSS
$custom: #051635;
$custom-light: #4d526c;
$custom-dark: #000000;
JSON
{
  "hex": "#051635",
  "rgb": {
    "r": 5,
    "g": 22,
    "b": 53
  },
  "hsl": {
    "h": 218.75,
    "s": 82.759,
    "l": 11.373
  },
  "oklch": {
    "l": 0.20731,
    "c": 0.0655,
    "h": 260.5
  },
  "luminance": 0.00863
}

Semantic roles & 50–950 ramp

primary
#051635
secondary
#765820
accent
#B12FF9
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020207
muted
#78787A

Preview Lab

Preview with #051635

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

Preview Lab → · Contrast checker → · Palette generator →

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