#050D3F#050D3F

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

Color values

HEX#050D3F
RGBrgb(5, 13, 63)
HSLhsl(232, 85%, 13%)
HSVhsv(232, 92%, 25%)
CMYKcmyk(92.1%, 79.4%, 0%, 75.3%)
CIE-LABlab(6.13, 17.82, -32.37)
CIE-LCHlch(6.13, 36.95, 298.83°)
OKLaboklab(19.68% -0.004 -0.0946)
OKLCHoklch(19.68% 0.095 267.6)
XYZxyz(1.1034, 0.6789, 4.7745)
Luminance0.0068 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050D3F #3F3705
analogous
#052A3F #050D3F #1A053F
triadic
#050D3F #3F050D #0D3F05
tetradic
#050D3F #3F052A #3F3705 #053F1A
square
#050D3F #3F052A #3F3705 #053F1A
split-complementary
#050D3F #3F1A05 #2A3F05
monochromatic
#02061C #02061C #050D3F #091978 #0E24B0

Accessibility & contrast

On white

18.49
#050D3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #050D3F
18.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050D3F#FFFFFF#000000##FFFFFF
##050D3F1.0018.491.1418.49
#FFFFFF18.491.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001641
Deuteranopia (green-blind)
#00113E
Tritanopia (blue-blind)
#001B24
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #050d3f;
/* rgb */ color: rgb(5, 13, 63);
/* oklch */ color: oklch(19.7% 0.095 267.6);
Tailwind
colors: {
  custom: {
    50: '#514c75',
    500: '#050d3f',
    950: '#000000',
  },
}
SCSS
$custom: #050d3f;
$custom-light: #514c75;
$custom-dark: #000000;
JSON
{
  "hex": "#050d3f",
  "rgb": {
    "r": 5,
    "g": 13,
    "b": 63
  },
  "hsl": {
    "h": 231.724,
    "s": 85.294,
    "l": 13.333
  },
  "oklch": {
    "l": 0.19681,
    "c": 0.09472,
    "h": 267.6
  },
  "luminance": 0.00679
}

Semantic roles & 50–950 ramp

primary
#050D3F
secondary
#807220
accent
#DF2CFC
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #050D3F

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

Preview Lab → · Contrast checker → · Palette generator →

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