#050F39#050F39

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

Color values

HEX#050F39
RGBrgb(5, 15, 57)
HSLhsl(228, 84%, 12%)
HSVhsv(228, 91%, 22%)
CMYKcmyk(91.2%, 73.7%, 0%, 77.6%)
CIE-LABlab(6.04, 13.50, -28.19)
CIE-LCHlch(6.04, 31.25, 295.59°)
OKLaboklab(19.4% -0.0047 -0.0825)
OKLCHoklch(19.4% 0.083 266.7)
XYZxyz(0.9717, 0.6692, 3.9481)
Luminance0.0067 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050F39 #392F05
analogous
#052939 #050F39 #150539
triadic
#050F39 #39050F #0F3905
tetradic
#050F39 #390529 #392F05 #053915
square
#050F39 #390529 #392F05 #053915
split-complementary
#050F39 #391505 #293905
monochromatic
#02071C #02071C #050F39 #0A1E71 #0F2DAA

Accessibility & contrast

On white

18.52
#050F39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #050F39
18.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050F39#FFFFFF#000000##FFFFFF
##050F391.0018.521.1318.52
#FFFFFF18.521.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #050f39;
/* rgb */ color: rgb(5, 15, 57);
/* oklch */ color: oklch(19.4% 0.083 266.7);
Tailwind
colors: {
  custom: {
    50: '#4f4d70',
    500: '#050f39',
    950: '#000000',
  },
}
SCSS
$custom: #050f39;
$custom-light: #4f4d70;
$custom-dark: #000000;
JSON
{
  "hex": "#050f39",
  "rgb": {
    "r": 5,
    "g": 15,
    "b": 57
  },
  "hsl": {
    "h": 228.462,
    "s": 83.871,
    "l": 12.157
  },
  "oklch": {
    "l": 0.19396,
    "c": 0.08265,
    "h": 266.7
  },
  "luminance": 0.00669
}

Semantic roles & 50–950 ramp

primary
#050F39
secondary
#7A6920
accent
#D32EFA
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #050F39

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

Preview Lab → · Contrast checker → · Palette generator →

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