#050D38#050D38

#050D38 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.8% C 0.084 H 267.7°. Best body text is #FFFFFF at 18.73:1 contrast (WCAG AA passes).

Color values

HEX#050D38
RGBrgb(5, 13, 56)
HSLhsl(231, 84%, 12%)
HSVhsv(231, 91%, 22%)
CMYKcmyk(91.1%, 76.8%, 0%, 78%)
CIE-LABlab(5.47, 14.02, -28.39)
CIE-LCHlch(5.47, 31.67, 296.28°)
OKLaboklab(18.83% -0.0034 -0.0838)
OKLCHoklch(18.83% 0.084 267.7)
XYZxyz(0.9201, 0.6055, 3.8090)
Luminance0.0061 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050D38 #383005
analogous
#052738 #050D38 #170538
triadic
#050D38 #38050D #0D3805
tetradic
#050D38 #380527 #383005 #053817
square
#050D38 #380527 #383005 #053817
split-complementary
#050D38 #381705 #273805
monochromatic
#03071C #03071C #050D38 #0A1A70 #0F27A8

Accessibility & contrast

On white

18.73
#050D38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#050D38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #050D38
18.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050D38#FFFFFF#000000##FFFFFF
##050D381.0018.731.1218.73
#FFFFFF18.731.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001539
Deuteranopia (green-blind)
#001037
Tritanopia (blue-blind)
#001920
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #050d38;
/* rgb */ color: rgb(5, 13, 56);
/* oklch */ color: oklch(18.8% 0.084 267.7);
Tailwind
colors: {
  custom: {
    50: '#4e4c6f',
    500: '#050d38',
    950: '#000000',
  },
}
SCSS
$custom: #050d38;
$custom-light: #4e4c6f;
$custom-dark: #000000;
JSON
{
  "hex": "#050d38",
  "rgb": {
    "r": 5,
    "g": 13,
    "b": 56
  },
  "hsl": {
    "h": 230.588,
    "s": 83.607,
    "l": 11.961
  },
  "oklch": {
    "l": 0.18835,
    "c": 0.08391,
    "h": 267.7
  },
  "luminance": 0.00606
}

Semantic roles & 50–950 ramp

primary
#050D38
secondary
#796B20
accent
#DA2EFA
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #050D38

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

Preview Lab → · Contrast checker → · Palette generator →

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