#050D3A#050D3A

#050D3A is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.1% C 0.087 H 267.7°. Best body text is #FFFFFF at 18.66:1 contrast (WCAG AA passes).

Color values

HEX#050D3A
RGBrgb(5, 13, 58)
HSLhsl(231, 84%, 12%)
HSVhsv(231, 91%, 23%)
CMYKcmyk(91.4%, 77.6%, 0%, 77.3%)
CIE-LABlab(5.65, 15.14, -29.55)
CIE-LCHlch(5.65, 33.20, 297.12°)
OKLaboklab(19.07% -0.0035 -0.087)
OKLCHoklch(19.07% 0.087 267.7)
XYZxyz(0.9700, 0.6255, 4.0718)
Luminance0.0063 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050D3A #3A3205
analogous
#05283A #050D3A #17053A
triadic
#050D3A #3A050D #0D3A05
tetradic
#050D3A #3A0528 #3A3205 #053A17
square
#050D3A #3A0528 #3A3205 #053A17
split-complementary
#050D3A #3A1705 #283A05
monochromatic
#02061C #02061C #050D3A #0A1A72 #0F26AB

Accessibility & contrast

On white

18.66
#050D3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #050D3A
18.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050D3A#FFFFFF#000000##FFFFFF
##050D3A1.0018.661.1318.66
#FFFFFF18.661.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00153B
Deuteranopia (green-blind)
#001039
Tritanopia (blue-blind)
#001922
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #050d3a;
/* rgb */ color: rgb(5, 13, 58);
/* oklch */ color: oklch(19.1% 0.087 267.7);
Tailwind
colors: {
  custom: {
    50: '#4f4c71',
    500: '#050d3a',
    950: '#000000',
  },
}
SCSS
$custom: #050d3a;
$custom-light: #4f4c71;
$custom-dark: #000000;
JSON
{
  "hex": "#050d3a",
  "rgb": {
    "r": 5,
    "g": 13,
    "b": 58
  },
  "hsl": {
    "h": 230.943,
    "s": 84.127,
    "l": 12.353
  },
  "oklch": {
    "l": 0.19073,
    "c": 0.08705,
    "h": 267.7
  },
  "luminance": 0.00626
}

Semantic roles & 50–950 ramp

primary
#050D3A
secondary
#7B6D20
accent
#DB2DFA
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #050D3A

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

Preview Lab → · Contrast checker → · Palette generator →

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