#050F3A#050F3A

#050F3A is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.5% C 0.084 H 266.7°. Best body text is #FFFFFF at 18.49:1 contrast (WCAG AA passes).

Color values

HEX#050F3A
RGBrgb(5, 15, 58)
HSLhsl(229, 84%, 12%)
HSVhsv(229, 91%, 23%)
CMYKcmyk(91.4%, 74.1%, 0%, 77.3%)
CIE-LABlab(6.14, 14.03, -28.76)
CIE-LCHlch(6.14, 32.01, 296.01°)
OKLaboklab(19.51% -0.0048 -0.0841)
OKLCHoklch(19.51% 0.084 266.7)
XYZxyz(0.9969, 0.6793, 4.0807)
Luminance0.0068 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050F3A #3A3005
analogous
#052A3A #050F3A #15053A
triadic
#050F3A #3A050F #0F3A05
tetradic
#050F3A #3A052A #3A3005 #053A15
square
#050F3A #3A052A #3A3005 #053A15
split-complementary
#050F3A #3A1505 #2A3A05
monochromatic
#02071C #02071C #050F3A #0A1E72 #0F2CAB

Accessibility & contrast

On white

18.49
#050F3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#050F3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #050F3A
18.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050F3A#FFFFFF#000000##FFFFFF
##050F3A1.0018.491.1418.49
#FFFFFF18.491.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #050f3a;
/* rgb */ color: rgb(5, 15, 58);
/* oklch */ color: oklch(19.5% 0.084 266.7);
Tailwind
colors: {
  custom: {
    50: '#4f4d71',
    500: '#050f3a',
    950: '#000000',
  },
}
SCSS
$custom: #050f3a;
$custom-light: #4f4d71;
$custom-dark: #000000;
JSON
{
  "hex": "#050f3a",
  "rgb": {
    "r": 5,
    "g": 15,
    "b": 58
  },
  "hsl": {
    "h": 228.679,
    "s": 84.127,
    "l": 12.353
  },
  "oklch": {
    "l": 0.1951,
    "c": 0.08424,
    "h": 266.7
  },
  "luminance": 0.00679
}

Semantic roles & 50–950 ramp

primary
#050F3A
secondary
#7B6A20
accent
#D42DFA
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #050F3A

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

Preview Lab → · Contrast checker → · Palette generator →

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