#050F32#050F32

#050F32 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.6% C 0.071 H 266.1°. Best body text is #FFFFFF at 18.74:1 contrast (WCAG AA passes).

Color values

HEX#050F32
RGBrgb(5, 15, 50)
HSLhsl(227, 82%, 11%)
HSVhsv(227, 90%, 20%)
CMYKcmyk(90%, 70%, 0%, 80.4%)
CIE-LABlab(5.46, 9.62, -24.02)
CIE-LCHlch(5.46, 25.87, 291.82°)
OKLaboklab(18.62% -0.0048 -0.071)
OKLCHoklch(18.62% 0.071 266.1)
XYZxyz(0.8089, 0.6041, 3.0910)
Luminance0.0060 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050F32 #322805
analogous
#052532 #050F32 #110532
triadic
#050F32 #32050F #0F3205
tetradic
#050F32 #320525 #322805 #053211
square
#050F32 #320525 #322805 #053211
split-complementary
#050F32 #321105 #253205
monochromatic
#03081C #03081C #050F32 #0B206A #1030A1

Accessibility & contrast

On white

18.74
#050F32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #050F32
18.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050F32#FFFFFF#000000##FFFFFF
##050F321.0018.741.1218.74
#FFFFFF18.741.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001433
Deuteranopia (green-blind)
#001031
Tritanopia (blue-blind)
#00181E
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #050f32;
/* rgb */ color: rgb(5, 15, 50);
/* oklch */ color: oklch(18.6% 0.071 266.1);
Tailwind
colors: {
  custom: {
    50: '#4c4d6a',
    500: '#050f32',
    950: '#000000',
  },
}
SCSS
$custom: #050f32;
$custom-light: #4c4d6a;
$custom-dark: #000000;
JSON
{
  "hex": "#050f32",
  "rgb": {
    "r": 5,
    "g": 15,
    "b": 50
  },
  "hsl": {
    "h": 226.667,
    "s": 81.818,
    "l": 10.784
  },
  "oklch": {
    "l": 0.18624,
    "c": 0.07117,
    "h": 266.1
  },
  "luminance": 0.00604
}

Semantic roles & 50–950 ramp

primary
#050F32
secondary
#73611F
accent
#CC30F8
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #050F32

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

Preview Lab → · Contrast checker → · Palette generator →

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