#050C32#050C32

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

Color values

HEX#050C32
RGBrgb(5, 12, 50)
HSLhsl(231, 82%, 11%)
HSVhsv(231, 90%, 20%)
CMYKcmyk(90%, 76%, 0%, 80.4%)
CIE-LABlab(4.75, 11.07, -25.16)
CIE-LCHlch(4.75, 27.48, 293.75°)
OKLaboklab(17.91% -0.0024 -0.0757)
OKLCHoklch(17.91% 0.076 268.2)
XYZxyz(0.7696, 0.5254, 3.0778)
Luminance0.0053 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050C32 #322B05
analogous
#052232 #050C32 #140532
triadic
#050C32 #32050C #0C3205
tetradic
#050C32 #320522 #322B05 #053214
square
#050C32 #320522 #322B05 #053214
split-complementary
#050C32 #321405 #223205
monochromatic
#03071C #03071C #050C32 #0B196A #1027A1

Accessibility & contrast

On white

19.00
#050C32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #050C32
19.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050C32#FFFFFF#000000##FFFFFF
##050C321.0019.001.1119.00
#FFFFFF19.001.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF19.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #050c32;
/* rgb */ color: rgb(5, 12, 50);
/* oklch */ color: oklch(17.9% 0.076 268.2);
Tailwind
colors: {
  custom: {
    50: '#4c4c6a',
    500: '#050c32',
    950: '#000000',
  },
}
SCSS
$custom: #050c32;
$custom-light: #4c4c6a;
$custom-dark: #000000;
JSON
{
  "hex": "#050c32",
  "rgb": {
    "r": 5,
    "g": 12,
    "b": 50
  },
  "hsl": {
    "h": 230.667,
    "s": 81.818,
    "l": 10.784
  },
  "oklch": {
    "l": 0.17911,
    "c": 0.0757,
    "h": 268.2
  },
  "luminance": 0.00525
}

Semantic roles & 50–950 ramp

primary
#050C32
secondary
#73661F
accent
#D930F8
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #050C32

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

Preview Lab → · Contrast checker → · Palette generator →

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