#050E3B#050E3B

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

Color values

HEX#050E3B
RGBrgb(5, 14, 59)
HSLhsl(230, 84%, 13%)
HSVhsv(230, 92%, 23%)
CMYKcmyk(91.5%, 76.3%, 0%, 76.9%)
CIE-LABlab(5.98, 15.14, -29.74)
CIE-LCHlch(5.98, 33.37, 296.98°)
OKLaboklab(19.41% -0.0042 -0.0871)
OKLCHoklch(19.41% 0.087 267.2)
XYZxyz(1.0088, 0.6620, 4.2114)
Luminance0.0066 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050E3B #3B3205
analogous
#05293B #050E3B #17053B
triadic
#050E3B #3B050E #0E3B05
tetradic
#050E3B #3B0529 #3B3205 #053B17
square
#050E3B #3B0529 #3B3205 #053B17
split-complementary
#050E3B #3B1705 #293B05
monochromatic
#02071C #02071C #050E3B #0A1B73 #0F29AC

Accessibility & contrast

On white

18.54
#050E3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #050E3B
18.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050E3B#FFFFFF#000000##FFFFFF
##050E3B1.0018.541.1318.54
#FFFFFF18.541.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00163C
Deuteranopia (green-blind)
#00113A
Tritanopia (blue-blind)
#001A22
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #050e3b;
/* rgb */ color: rgb(5, 14, 59);
/* oklch */ color: oklch(19.4% 0.087 267.2);
Tailwind
colors: {
  custom: {
    50: '#504c71',
    500: '#050e3b',
    950: '#000000',
  },
}
SCSS
$custom: #050e3b;
$custom-light: #504c71;
$custom-dark: #000000;
JSON
{
  "hex": "#050e3b",
  "rgb": {
    "r": 5,
    "g": 14,
    "b": 59
  },
  "hsl": {
    "h": 230,
    "s": 84.375,
    "l": 12.549
  },
  "oklch": {
    "l": 0.19406,
    "c": 0.08723,
    "h": 267.2
  },
  "luminance": 0.00662
}

Semantic roles & 50–950 ramp

primary
#050E3B
secondary
#7C6D20
accent
#D82DFB
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020108
muted
#78777B

Preview Lab

Preview with #050E3B

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

Preview Lab → · Contrast checker → · Palette generator →

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