#050C37#050C37

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

Color values

HEX#050C37
RGBrgb(5, 12, 55)
HSLhsl(232, 83%, 12%)
HSVhsv(232, 91%, 22%)
CMYKcmyk(90.9%, 78.2%, 0%, 78.4%)
CIE-LABlab(5.16, 13.93, -28.17)
CIE-LCHlch(5.16, 31.43, 296.32°)
OKLaboklab(18.5% -0.0027 -0.0837)
OKLCHoklch(18.5% 0.084 268.1)
XYZxyz(0.8834, 0.5709, 3.6773)
Luminance0.0057 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050C37 #373005
analogous
#052537 #050C37 #170537
triadic
#050C37 #37050C #0C3705
tetradic
#050C37 #370525 #373005 #053717
square
#050C37 #370525 #373005 #053717
split-complementary
#050C37 #371705 #253705
monochromatic
#03061C #03061C #050C37 #0A186F #0F24A7

Accessibility & contrast

On white

18.85
#050C37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #050C37
18.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050C37#FFFFFF#000000##FFFFFF
##050C371.0018.851.1118.85
#FFFFFF18.851.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001438
Deuteranopia (green-blind)
#000F36
Tritanopia (blue-blind)
#001820
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #050c37;
/* rgb */ color: rgb(5, 12, 55);
/* oklch */ color: oklch(18.5% 0.084 268.1);
Tailwind
colors: {
  custom: {
    50: '#4e4b6e',
    500: '#050c37',
    950: '#000000',
  },
}
SCSS
$custom: #050c37;
$custom-light: #4e4b6e;
$custom-dark: #000000;
JSON
{
  "hex": "#050c37",
  "rgb": {
    "r": 5,
    "g": 12,
    "b": 55
  },
  "hsl": {
    "h": 231.6,
    "s": 83.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.185,
    "c": 0.08373,
    "h": 268.1
  },
  "luminance": 0.00571
}

Semantic roles & 50–950 ramp

primary
#050C37
secondary
#786C20
accent
#DD2EFA
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #050C37

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

Preview Lab → · Contrast checker → · Palette generator →

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