#050F3B#050F3B

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

Color values

HEX#050F3B
RGBrgb(5, 15, 59)
HSLhsl(229, 84%, 13%)
HSVhsv(229, 92%, 23%)
CMYKcmyk(91.5%, 74.6%, 0%, 76.9%)
CIE-LABlab(6.23, 14.57, -29.34)
CIE-LCHlch(6.23, 32.75, 296.40°)
OKLaboklab(19.63% -0.0048 -0.0857)
OKLCHoklch(19.63% 0.086 266.8)
XYZxyz(1.0226, 0.6896, 4.2160)
Luminance0.0069 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050F3B #3B3105
analogous
#052A3B #050F3B #16053B
triadic
#050F3B #3B050F #0F3B05
tetradic
#050F3B #3B052A #3B3105 #053B16
square
#050F3B #3B052A #3B3105 #053B16
split-complementary
#050F3B #3B1605 #2A3B05
monochromatic
#02071C #02071C #050F3B #0A1D73 #0F2CAC

Accessibility & contrast

On white

18.45
#050F3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #050F3B
18.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050F3B#FFFFFF#000000##FFFFFF
##050F3B1.0018.451.1418.45
#FFFFFF18.451.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #050f3b;
/* rgb */ color: rgb(5, 15, 59);
/* oklch */ color: oklch(19.6% 0.086 266.8);
Tailwind
colors: {
  custom: {
    50: '#504d71',
    500: '#050f3b',
    950: '#000000',
  },
}
SCSS
$custom: #050f3b;
$custom-light: #504d71;
$custom-dark: #000000;
JSON
{
  "hex": "#050f3b",
  "rgb": {
    "r": 5,
    "g": 15,
    "b": 59
  },
  "hsl": {
    "h": 228.889,
    "s": 84.375,
    "l": 12.549
  },
  "oklch": {
    "l": 0.19625,
    "c": 0.08582,
    "h": 266.8
  },
  "luminance": 0.0069
}

Semantic roles & 50–950 ramp

primary
#050F3B
secondary
#7C6B20
accent
#D52DFB
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020108
muted
#78777B

Preview Lab

Preview with #050F3B

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

Preview Lab → · Contrast checker → · Palette generator →

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