#051035#051035

#051035 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.2% C 0.075 H 265.8°. Best body text is #FFFFFF at 18.55:1 contrast (WCAG AA passes).

Color values

HEX#051035
RGBrgb(5, 16, 53)
HSLhsl(226, 83%, 11%)
HSVhsv(226, 91%, 21%)
CMYKcmyk(90.6%, 69.8%, 0%, 79.2%)
CIE-LABlab(5.96, 10.74, -25.41)
CIE-LCHlch(5.96, 27.59, 292.92°)
OKLaboklab(19.19% -0.0055 -0.0744)
OKLCHoklch(19.19% 0.075 265.8)
XYZxyz(0.8903, 0.6598, 3.4479)
Luminance0.0066 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#051035 #352A05
analogous
#052835 #051035 #120535
triadic
#051035 #350510 #103505
tetradic
#051035 #350528 #352A05 #053512
square
#051035 #350528 #352A05 #053512
split-complementary
#051035 #351205 #283505
monochromatic
#03081C #03081C #051035 #0A216D #1032A5

Accessibility & contrast

On white

18.55
#051035 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#051035 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #051035
18.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##051035#FFFFFF#000000##FFFFFF
##0510351.0018.551.1318.55
#FFFFFF18.551.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001636
Deuteranopia (green-blind)
#001134
Tritanopia (blue-blind)
#001920
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #051035;
/* rgb */ color: rgb(5, 16, 53);
/* oklch */ color: oklch(19.2% 0.075 265.8);
Tailwind
colors: {
  custom: {
    50: '#4d4e6d',
    500: '#051035',
    950: '#000000',
  },
}
SCSS
$custom: #051035;
$custom-light: #4d4e6d;
$custom-dark: #000000;
JSON
{
  "hex": "#051035",
  "rgb": {
    "r": 5,
    "g": 16,
    "b": 53
  },
  "hsl": {
    "h": 226.25,
    "s": 82.759,
    "l": 11.373
  },
  "oklch": {
    "l": 0.19189,
    "c": 0.07465,
    "h": 265.8
  },
  "luminance": 0.0066
}

Semantic roles & 50–950 ramp

primary
#051035
secondary
#766220
accent
#CB2FF9
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020107
muted
#78777A

Preview Lab

Preview with #051035

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

Preview Lab → · Contrast checker → · Palette generator →

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