#050D31#050D31

#050D31 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.0% C 0.073 H 267.5°. Best body text is #FFFFFF at 18.95:1 contrast (WCAG AA passes).

Color values

HEX#050D31
RGBrgb(5, 13, 49)
HSLhsl(229, 81%, 11%)
HSVhsv(229, 90%, 19%)
CMYKcmyk(89.8%, 73.5%, 0%, 80.8%)
CIE-LABlab(4.89, 10.07, -24.18)
CIE-LCHlch(4.89, 26.19, 292.60°)
OKLaboklab(18.03% -0.0032 -0.0725)
OKLCHoklch(18.03% 0.073 267.5)
XYZxyz(0.7607, 0.5418, 2.9696)
Luminance0.0054 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050D31 #312905
analogous
#052331 #050D31 #130531
triadic
#050D31 #31050D #0D3105
tetradic
#050D31 #310523 #312905 #053113
square
#050D31 #310523 #312905 #053113
split-complementary
#050D31 #311305 #233105
monochromatic
#03071C #03071C #050D31 #0B1C69 #102AA0

Accessibility & contrast

On white

18.95
#050D31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#050D31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #050D31
18.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050D31#FFFFFF#000000##FFFFFF
##050D311.0018.951.1118.95
#FFFFFF18.951.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001332
Deuteranopia (green-blind)
#000F30
Tritanopia (blue-blind)
#00161D
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #050d31;
/* rgb */ color: rgb(5, 13, 49);
/* oklch */ color: oklch(18.0% 0.073 267.5);
Tailwind
colors: {
  custom: {
    50: '#4c4c69',
    500: '#050d31',
    950: '#000000',
  },
}
SCSS
$custom: #050d31;
$custom-light: #4c4c69;
$custom-dark: #000000;
JSON
{
  "hex": "#050d31",
  "rgb": {
    "r": 5,
    "g": 13,
    "b": 49
  },
  "hsl": {
    "h": 229.091,
    "s": 81.481,
    "l": 10.588
  },
  "oklch": {
    "l": 0.18031,
    "c": 0.07255,
    "h": 267.5
  },
  "luminance": 0.00542
}

Semantic roles & 50–950 ramp

primary
#050D31
secondary
#72631F
accent
#D430F8
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #050D31

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

Preview Lab → · Contrast checker → · Palette generator →

#050D31 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva