#051935#051935

#051935 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 21.6% C 0.061 H 256.9°. Best body text is #FFFFFF at 17.54:1 contrast (WCAG AA passes).

Color values

HEX#051935
RGBrgb(5, 25, 53)
HSLhsl(215, 83%, 11%)
HSVhsv(215, 91%, 21%)
CMYKcmyk(90.6%, 52.8%, 0%, 79.2%)
CIE-LABlab(8.86, 4.29, -20.74)
CIE-LCHlch(8.86, 21.18, 281.69°)
OKLaboklab(21.55% -0.0138 -0.0595)
OKLCHoklch(21.55% 0.061 256.9)
XYZxyz(1.0526, 0.9844, 3.5020)
Luminance0.0098 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#051935 #352105
analogous
#053135 #051935 #090535
triadic
#051935 #350519 #193505
tetradic
#051935 #350531 #352105 #053509
square
#051935 #350531 #352105 #053509
split-complementary
#051935 #350905 #313505
monochromatic
#030D1C #030D1C #051935 #0A336D #104EA5

Accessibility & contrast

On white

17.54
#051935 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#051935 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #051935
17.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##051935#FFFFFF#000000##FFFFFF
##0519351.0017.541.2017.54
#FFFFFF17.541.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A1C36
Deuteranopia (green-blind)
#031734
Tritanopia (blue-blind)
#002024
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #051935;
/* rgb */ color: rgb(5, 25, 53);
/* oklch */ color: oklch(21.6% 0.061 256.9);
Tailwind
colors: {
  custom: {
    50: '#4d556c',
    500: '#051935',
    950: '#000000',
  },
}
SCSS
$custom: #051935;
$custom-light: #4d556c;
$custom-dark: #000000;
JSON
{
  "hex": "#051935",
  "rgb": {
    "r": 5,
    "g": 25,
    "b": 53
  },
  "hsl": {
    "h": 215,
    "s": 82.759,
    "l": 11.373
  },
  "oklch": {
    "l": 0.21553,
    "c": 0.06105,
    "h": 256.9
  },
  "luminance": 0.00985
}

Semantic roles & 50–950 ramp

primary
#051935
secondary
#765220
accent
#A52FF9
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020207
muted
#78787A

Preview Lab

Preview with #051935

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

Preview Lab → · Contrast checker → · Palette generator →

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