#050E3A#050E3A

#050E3A is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.3% C 0.086 H 267.2°. Best body text is #FFFFFF at 18.58:1 contrast (WCAG AA passes).

Color values

HEX#050E3A
RGBrgb(5, 14, 58)
HSLhsl(230, 84%, 12%)
HSVhsv(230, 91%, 23%)
CMYKcmyk(91.4%, 75.9%, 0%, 77.3%)
CIE-LABlab(5.89, 14.60, -29.17)
CIE-LCHlch(5.89, 32.62, 296.59°)
OKLaboklab(19.29% -0.0041 -0.0856)
OKLCHoklch(19.29% 0.086 267.2)
XYZxyz(0.9831, 0.6517, 4.0761)
Luminance0.0065 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050E3A #3A3105
analogous
#05293A #050E3A #16053A
triadic
#050E3A #3A050E #0E3A05
tetradic
#050E3A #3A0529 #3A3105 #053A16
square
#050E3A #3A0529 #3A3105 #053A16
split-complementary
#050E3A #3A1605 #293A05
monochromatic
#02071C #02071C #050E3A #0A1C72 #0F29AB

Accessibility & contrast

On white

18.58
#050E3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#050E3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #050E3A
18.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050E3A#FFFFFF#000000##FFFFFF
##050E3A1.0018.581.1318.58
#FFFFFF18.581.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00163B
Deuteranopia (green-blind)
#001039
Tritanopia (blue-blind)
#001A22
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #050e3a;
/* rgb */ color: rgb(5, 14, 58);
/* oklch */ color: oklch(19.3% 0.086 267.2);
Tailwind
colors: {
  custom: {
    50: '#4f4c71',
    500: '#050e3a',
    950: '#000000',
  },
}
SCSS
$custom: #050e3a;
$custom-light: #4f4c71;
$custom-dark: #000000;
JSON
{
  "hex": "#050e3a",
  "rgb": {
    "r": 5,
    "g": 14,
    "b": 58
  },
  "hsl": {
    "h": 229.811,
    "s": 84.127,
    "l": 12.353
  },
  "oklch": {
    "l": 0.19288,
    "c": 0.08566,
    "h": 267.2
  },
  "luminance": 0.00652
}

Semantic roles & 50–950 ramp

primary
#050E3A
secondary
#7B6B20
accent
#D82DFA
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #050E3A

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

Preview Lab → · Contrast checker → · Palette generator →

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