#050B31#050B31

#050B31 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.6% C 0.076 H 268.8°. Best body text is #FFFFFF at 19.12:1 contrast (WCAG AA passes).

Color values

HEX#050B31
RGBrgb(5, 11, 49)
HSLhsl(232, 81%, 11%)
HSVhsv(232, 90%, 19%)
CMYKcmyk(89.8%, 77.6%, 0%, 80.8%)
CIE-LABlab(4.46, 10.96, -24.88)
CIE-LCHlch(4.46, 27.18, 293.77°)
OKLaboklab(17.57% -0.0016 -0.0755)
OKLCHoklch(17.57% 0.076 268.8)
XYZxyz(0.7364, 0.4933, 2.9615)
Luminance0.0049 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050B31 #312B05
analogous
#052131 #050B31 #150531
triadic
#050B31 #31050B #0B3105
tetradic
#050B31 #310521 #312B05 #053115
square
#050B31 #310521 #312B05 #053115
split-complementary
#050B31 #311505 #213105
monochromatic
#03061C #03061C #050B31 #0B1769 #1024A0

Accessibility & contrast

On white

19.12
#050B31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#050B31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #050B31
19.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050B31#FFFFFF#000000##FFFFFF
##050B311.0019.121.1019.12
#FFFFFF19.121.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001232
Deuteranopia (green-blind)
#000D30
Tritanopia (blue-blind)
#00151C
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #050b31;
/* rgb */ color: rgb(5, 11, 49);
/* oklch */ color: oklch(17.6% 0.076 268.8);
Tailwind
colors: {
  custom: {
    50: '#4b4b69',
    500: '#050b31',
    950: '#000000',
  },
}
SCSS
$custom: #050b31;
$custom-light: #4b4b69;
$custom-dark: #000000;
JSON
{
  "hex": "#050b31",
  "rgb": {
    "r": 5,
    "g": 11,
    "b": 49
  },
  "hsl": {
    "h": 231.818,
    "s": 81.481,
    "l": 10.588
  },
  "oklch": {
    "l": 0.17568,
    "c": 0.07553,
    "h": 268.8
  },
  "luminance": 0.00493
}

Semantic roles & 50–950 ramp

primary
#050B31
secondary
#72671F
accent
#DD30F8
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #050B31

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

Preview Lab → · Contrast checker → · Palette generator →

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