#050F46#050F46

#050F46 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.9% C 0.103 H 266.9°. Best body text is #FFFFFF at 18.05:1 contrast (WCAG AA passes).

Color values

HEX#050F46
RGBrgb(5, 15, 70)
HSLhsl(231, 87%, 15%)
HSVhsv(231, 93%, 27%)
CMYKcmyk(92.9%, 78.6%, 0%, 72.5%)
CIE-LABlab(7.37, 20.01, -35.30)
CIE-LCHlch(7.37, 40.58, 299.55°)
OKLaboklab(20.94% -0.0056 -0.1024)
OKLCHoklch(20.94% 0.103 266.9)
XYZxyz(1.3385, 0.8159, 5.8801)
Luminance0.0082 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050F46 #463C05
analogous
#053046 #050F46 #1B0546
triadic
#050F46 #46050F #0F4605
tetradic
#050F46 #460530 #463C05 #05461B
square
#050F46 #460530 #463C05 #05461B
split-complementary
#050F46 #461B05 #304605
monochromatic
#02061D #02061D #050F46 #091B7F #0D27B8

Accessibility & contrast

On white

18.05
#050F46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#050F46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #050F46
18.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050F46#FFFFFF#000000##FFFFFF
##050F461.0018.051.1618.05
#FFFFFF18.051.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001948
Deuteranopia (green-blind)
#001345
Tritanopia (blue-blind)
#001F29
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #050f46;
/* rgb */ color: rgb(5, 15, 70);
/* oklch */ color: oklch(20.9% 0.103 266.9);
Tailwind
colors: {
  custom: {
    50: '#544d7a',
    500: '#050f46',
    950: '#000000',
  },
}
SCSS
$custom: #050f46;
$custom-light: #544d7a;
$custom-dark: #000000;
JSON
{
  "hex": "#050f46",
  "rgb": {
    "r": 5,
    "g": 15,
    "b": 70
  },
  "hsl": {
    "h": 230.769,
    "s": 86.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.20939,
    "c": 0.10258,
    "h": 266.9
  },
  "luminance": 0.00816
}

Semantic roles & 50–950 ramp

primary
#050F46
secondary
#867621
accent
#DD2BFD
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#030109
muted
#78777B

Preview Lab

Preview with #050F46

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

Preview Lab → · Contrast checker → · Palette generator →

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