#051735#051735

#051735 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.0% C 0.064 H 259.4°. Best body text is #FFFFFF at 17.79:1 contrast (WCAG AA passes).

Color values

HEX#051735
RGBrgb(5, 23, 53)
HSLhsl(218, 83%, 11%)
HSVhsv(218, 91%, 21%)
CMYKcmyk(90.6%, 56.6%, 0%, 79.2%)
CIE-LABlab(8.15, 5.89, -21.89)
CIE-LCHlch(8.15, 22.67, 285.07°)
OKLaboklab(21% -0.0118 -0.0629)
OKLCHoklch(21% 0.064 259.4)
XYZxyz(1.0114, 0.9020, 3.4883)
Luminance0.0090 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#051735 #352305
analogous
#052F35 #051735 #0B0535
triadic
#051735 #350517 #173505
tetradic
#051735 #35052F #352305 #05350B
square
#051735 #35052F #352305 #05350B
split-complementary
#051735 #350B05 #2F3505
monochromatic
#030C1C #030C1C #051735 #0A2F6D #1048A5

Accessibility & contrast

On white

17.79
#051735 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#051735 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #051735
17.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##051735#FFFFFF#000000##FFFFFF
##0517351.0017.791.1817.79
#FFFFFF17.791.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061A36
Deuteranopia (green-blind)
#001634
Tritanopia (blue-blind)
#001E23
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #051735;
/* rgb */ color: rgb(5, 23, 53);
/* oklch */ color: oklch(21.0% 0.064 259.4);
Tailwind
colors: {
  custom: {
    50: '#4d536c',
    500: '#051735',
    950: '#000000',
  },
}
SCSS
$custom: #051735;
$custom-light: #4d536c;
$custom-dark: #000000;
JSON
{
  "hex": "#051735",
  "rgb": {
    "r": 5,
    "g": 23,
    "b": 53
  },
  "hsl": {
    "h": 217.5,
    "s": 82.759,
    "l": 11.373
  },
  "oklch": {
    "l": 0.21002,
    "c": 0.064,
    "h": 259.4
  },
  "luminance": 0.00902
}

Semantic roles & 50–950 ramp

primary
#051735
secondary
#765620
accent
#AD2FF9
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020207
muted
#78787A

Preview Lab

Preview with #051735

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

Preview Lab → · Contrast checker → · Palette generator →

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