#050B33#050B33

#050B33 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.8% C 0.079 H 268.7°. Best body text is #FFFFFF at 19.05:1 contrast (WCAG AA passes).

Color values

HEX#050B33
RGBrgb(5, 11, 51)
HSLhsl(232, 82%, 11%)
HSVhsv(232, 90%, 20%)
CMYKcmyk(90.2%, 78.4%, 0%, 80%)
CIE-LABlab(4.61, 12.06, -26.11)
CIE-LCHlch(4.61, 28.76, 294.79°)
OKLaboklab(17.81% -0.0017 -0.0787)
OKLCHoklch(17.81% 0.079 268.7)
XYZxyz(0.7796, 0.5105, 3.1888)
Luminance0.0051 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050B33 #332D05
analogous
#052233 #050B33 #160533
triadic
#050B33 #33050B #0B3305
tetradic
#050B33 #330522 #332D05 #053316
square
#050B33 #330522 #332D05 #053316
split-complementary
#050B33 #331605 #223305
monochromatic
#03061C #03061C #050B33 #0A176B #1023A2

Accessibility & contrast

On white

19.05
#050B33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #050B33
19.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050B33#FFFFFF#000000##FFFFFF
##050B331.0019.051.1019.05
#FFFFFF19.051.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001234
Deuteranopia (green-blind)
#000E32
Tritanopia (blue-blind)
#00161D
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #050b33;
/* rgb */ color: rgb(5, 11, 51);
/* oklch */ color: oklch(17.8% 0.079 268.7);
Tailwind
colors: {
  custom: {
    50: '#4c4b6b',
    500: '#050b33',
    950: '#000000',
  },
}
SCSS
$custom: #050b33;
$custom-light: #4c4b6b;
$custom-dark: #000000;
JSON
{
  "hex": "#050b33",
  "rgb": {
    "r": 5,
    "g": 11,
    "b": 51
  },
  "hsl": {
    "h": 232.174,
    "s": 82.143,
    "l": 10.98
  },
  "oklch": {
    "l": 0.17805,
    "c": 0.07877,
    "h": 268.7
  },
  "luminance": 0.00511
}

Semantic roles & 50–950 ramp

primary
#050B33
secondary
#74691F
accent
#DE2FF8
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #050B33

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

Preview Lab → · Contrast checker → · Palette generator →

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