#050A38#050A38

#050A38 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.2% C 0.088 H 268.9°. Best body text is #FFFFFF at 18.97:1 contrast (WCAG AA passes).

Color values

HEX#050A38
RGBrgb(5, 10, 56)
HSLhsl(234, 84%, 12%)
HSVhsv(234, 91%, 22%)
CMYKcmyk(91.1%, 82.1%, 0%, 78%)
CIE-LABlab(4.83, 15.39, -29.43)
CIE-LCHlch(4.83, 33.21, 297.61°)
OKLaboklab(18.21% -0.0017 -0.088)
OKLCHoklch(18.21% 0.088 268.9)
XYZxyz(0.8847, 0.5348, 3.7972)
Luminance0.0053 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050A38 #383305
analogous
#052438 #050A38 #1A0538
triadic
#050A38 #38050A #0A3805
tetradic
#050A38 #380524 #383305 #05381A
square
#050A38 #380524 #383305 #05381A
split-complementary
#050A38 #381A05 #243805
monochromatic
#03051C #03051C #050A38 #0A1470 #0F1EA8

Accessibility & contrast

On white

18.97
#050A38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#050A38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #050A38
18.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050A38#FFFFFF#000000##FFFFFF
##050A381.0018.971.1118.97
#FFFFFF18.971.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001339
Deuteranopia (green-blind)
#000E37
Tritanopia (blue-blind)
#001720
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #050a38;
/* rgb */ color: rgb(5, 10, 56);
/* oklch */ color: oklch(18.2% 0.088 268.9);
Tailwind
colors: {
  custom: {
    50: '#4e4a6f',
    500: '#050a38',
    950: '#000000',
  },
}
SCSS
$custom: #050a38;
$custom-light: #4e4a6f;
$custom-dark: #000000;
JSON
{
  "hex": "#050a38",
  "rgb": {
    "r": 5,
    "g": 10,
    "b": 56
  },
  "hsl": {
    "h": 234.118,
    "s": 83.607,
    "l": 11.961
  },
  "oklch": {
    "l": 0.18211,
    "c": 0.08799,
    "h": 268.9
  },
  "luminance": 0.00535
}

Semantic roles & 50–950 ramp

primary
#050A38
secondary
#797020
accent
#E62EFA
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #050A38

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

Preview Lab → · Contrast checker → · Palette generator →

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