#050C33#050C33

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

Color values

HEX#050C33
RGBrgb(5, 12, 51)
HSLhsl(231, 82%, 11%)
HSVhsv(231, 90%, 20%)
CMYKcmyk(90.2%, 76.5%, 0%, 80%)
CIE-LABlab(4.82, 11.62, -25.77)
CIE-LCHlch(4.82, 28.27, 294.28°)
OKLaboklab(18.03% -0.0024 -0.0773)
OKLCHoklch(18.03% 0.077 268.2)
XYZxyz(0.7914, 0.5341, 3.1927)
Luminance0.0053 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050C33 #332C05
analogous
#052333 #050C33 #150533
triadic
#050C33 #33050C #0C3305
tetradic
#050C33 #330523 #332C05 #053315
square
#050C33 #330523 #332C05 #053315
split-complementary
#050C33 #331505 #233305
monochromatic
#03071C #03071C #050C33 #0A196B #1026A2

Accessibility & contrast

On white

18.97
#050C33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #050C33
18.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050C33#FFFFFF#000000##FFFFFF
##050C331.0018.971.1118.97
#FFFFFF18.971.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #050c33;
/* rgb */ color: rgb(5, 12, 51);
/* oklch */ color: oklch(18.0% 0.077 268.2);
Tailwind
colors: {
  custom: {
    50: '#4c4c6b',
    500: '#050c33',
    950: '#000000',
  },
}
SCSS
$custom: #050c33;
$custom-light: #4c4c6b;
$custom-dark: #000000;
JSON
{
  "hex": "#050c33",
  "rgb": {
    "r": 5,
    "g": 12,
    "b": 51
  },
  "hsl": {
    "h": 230.87,
    "s": 82.143,
    "l": 10.98
  },
  "oklch": {
    "l": 0.18027,
    "c": 0.07733,
    "h": 268.2
  },
  "luminance": 0.00534
}

Semantic roles & 50–950 ramp

primary
#050C33
secondary
#74671F
accent
#DA2FF8
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #050C33

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

Preview Lab → · Contrast checker → · Palette generator →

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