#050F3C#050F3C

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

Color values

HEX#050F3C
RGBrgb(5, 15, 60)
HSLhsl(229, 85%, 13%)
HSVhsv(229, 92%, 24%)
CMYKcmyk(91.7%, 75%, 0%, 76.5%)
CIE-LABlab(6.32, 15.09, -29.90)
CIE-LCHlch(6.32, 33.50, 296.78°)
OKLaboklab(19.74% -0.0049 -0.0873)
OKLCHoklch(19.74% 0.087 266.8)
XYZxyz(1.0487, 0.7000, 4.3539)
Luminance0.0070 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050F3C #3C3205
analogous
#052A3C #050F3C #16053C
triadic
#050F3C #3C050F #0F3C05
tetradic
#050F3C #3C052A #3C3205 #053C16
square
#050F3C #3C052A #3C3205 #053C16
split-complementary
#050F3C #3C1605 #2A3C05
monochromatic
#02071C #02071C #050F3C #0A1D74 #0E2BAD

Accessibility & contrast

On white

18.42
#050F3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #050F3C
18.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050F3C#FFFFFF#000000##FFFFFF
##050F3C1.0018.421.1418.42
#FFFFFF18.421.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173D
Deuteranopia (green-blind)
#00113B
Tritanopia (blue-blind)
#001B23
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #050f3c;
/* rgb */ color: rgb(5, 15, 60);
/* oklch */ color: oklch(19.7% 0.087 266.8);
Tailwind
colors: {
  custom: {
    50: '#504d72',
    500: '#050f3c',
    950: '#000000',
  },
}
SCSS
$custom: #050f3c;
$custom-light: #504d72;
$custom-dark: #000000;
JSON
{
  "hex": "#050f3c",
  "rgb": {
    "r": 5,
    "g": 15,
    "b": 60
  },
  "hsl": {
    "h": 229.091,
    "s": 84.615,
    "l": 12.745
  },
  "oklch": {
    "l": 0.19741,
    "c": 0.0874,
    "h": 266.8
  },
  "luminance": 0.007
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #050F3C

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

Preview Lab → · Contrast checker → · Palette generator →

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