#051835#051835

#051835 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.3% C 0.063 H 258.2°. Best body text is #FFFFFF at 17.67:1 contrast (WCAG AA passes).

Color values

HEX#051835
RGBrgb(5, 24, 53)
HSLhsl(216, 83%, 11%)
HSVhsv(216, 91%, 21%)
CMYKcmyk(90.6%, 54.7%, 0%, 79.2%)
CIE-LABlab(8.50, 5.09, -21.31)
CIE-LCHlch(8.50, 21.91, 283.42°)
OKLaboklab(21.28% -0.0128 -0.0612)
OKLCHoklch(21.28% 0.063 258.2)
XYZxyz(1.0316, 0.9425, 3.4950)
Luminance0.0094 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#051835 #352205
analogous
#053035 #051835 #0A0535
triadic
#051835 #350518 #183505
tetradic
#051835 #350530 #352205 #05350A
square
#051835 #350530 #352205 #05350A
split-complementary
#051835 #350A05 #303505
monochromatic
#030D1C #030D1C #051835 #0A316D #104BA5

Accessibility & contrast

On white

17.67
#051835 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#051835 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #051835
17.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##051835#FFFFFF#000000##FFFFFF
##0518351.0017.671.1917.67
#FFFFFF17.671.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081B36
Deuteranopia (green-blind)
#011634
Tritanopia (blue-blind)
#001F23
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #051835;
/* rgb */ color: rgb(5, 24, 53);
/* oklch */ color: oklch(21.3% 0.063 258.2);
Tailwind
colors: {
  custom: {
    50: '#4d546c',
    500: '#051835',
    950: '#000000',
  },
}
SCSS
$custom: #051835;
$custom-light: #4d546c;
$custom-dark: #000000;
JSON
{
  "hex": "#051835",
  "rgb": {
    "r": 5,
    "g": 24,
    "b": 53
  },
  "hsl": {
    "h": 216.25,
    "s": 82.759,
    "l": 11.373
  },
  "oklch": {
    "l": 0.21276,
    "c": 0.06251,
    "h": 258.2
  },
  "luminance": 0.00943
}

Semantic roles & 50–950 ramp

primary
#051835
secondary
#765420
accent
#A92FF9
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020207
muted
#78787A

Preview Lab

Preview with #051835

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

Preview Lab → · Contrast checker → · Palette generator →

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