#050F33#050F33

#050F33 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.7% C 0.073 H 266.3°. Best body text is #FFFFFF at 18.71:1 contrast (WCAG AA passes).

Color values

HEX#050F33
RGBrgb(5, 15, 51)
HSLhsl(227, 82%, 11%)
HSVhsv(227, 90%, 20%)
CMYKcmyk(90.2%, 70.6%, 0%, 80%)
CIE-LABlab(5.54, 10.17, -24.63)
CIE-LCHlch(5.54, 26.64, 292.44°)
OKLaboklab(18.73% -0.0047 -0.0727)
OKLCHoklch(18.73% 0.073 266.3)
XYZxyz(0.8307, 0.6128, 3.2058)
Luminance0.0061 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050F33 #332905
analogous
#052633 #050F33 #120533
triadic
#050F33 #33050F #0F3305
tetradic
#050F33 #330526 #332905 #053312
square
#050F33 #330526 #332905 #053312
split-complementary
#050F33 #331205 #263305
monochromatic
#03081C #03081C #050F33 #0A1F6B #1030A2

Accessibility & contrast

On white

18.71
#050F33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#050F33 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #050F33
18.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050F33#FFFFFF#000000##FFFFFF
##050F331.0018.711.1218.71
#FFFFFF18.711.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001434
Deuteranopia (green-blind)
#001032
Tritanopia (blue-blind)
#00181F
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #050f33;
/* rgb */ color: rgb(5, 15, 51);
/* oklch */ color: oklch(18.7% 0.073 266.3);
Tailwind
colors: {
  custom: {
    50: '#4c4d6b',
    500: '#050f33',
    950: '#000000',
  },
}
SCSS
$custom: #050f33;
$custom-light: #4c4d6b;
$custom-dark: #000000;
JSON
{
  "hex": "#050f33",
  "rgb": {
    "r": 5,
    "g": 15,
    "b": 51
  },
  "hsl": {
    "h": 226.957,
    "s": 82.143,
    "l": 10.98
  },
  "oklch": {
    "l": 0.18731,
    "c": 0.07285,
    "h": 266.3
  },
  "luminance": 0.00613
}

Semantic roles & 50–950 ramp

primary
#050F33
secondary
#74621F
accent
#CD2FF8
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #050F33

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

Preview Lab → · Contrast checker → · Palette generator →

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