#050F2C#050F2C

#050F2C is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.0% C 0.061 H 265.1°. Best body text is #FFFFFF at 18.90:1 contrast (WCAG AA passes).

Color values

HEX#050F2C
RGBrgb(5, 15, 44)
HSLhsl(225, 80%, 10%)
HSVhsv(225, 89%, 17%)
CMYKcmyk(88.6%, 65.9%, 0%, 82.7%)
CIE-LABlab(5.02, 6.54, -20.25)
CIE-LCHlch(5.02, 21.28, 287.91°)
OKLaboklab(18.01% -0.0052 -0.0607)
OKLCHoklch(18.01% 0.061 265.1)
XYZxyz(0.6879, 0.5557, 2.4534)
Luminance0.0056 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050F2C #2C2205
analogous
#05232C #050F2C #0E052C
triadic
#050F2C #2C050F #0F2C05
tetradic
#050F2C #2C0523 #2C2205 #052C0E
square
#050F2C #2C0523 #2C2205 #052C0E
split-complementary
#050F2C #2C0E05 #232C05
monochromatic
#03091B #03091B #050F2C #0B2263 #11349A

Accessibility & contrast

On white

18.90
#050F2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #050F2C
18.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050F2C#FFFFFF#000000##FFFFFF
##050F2C1.0018.901.1118.90
#FFFFFF18.901.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00132D
Deuteranopia (green-blind)
#000F2B
Tritanopia (blue-blind)
#00161B
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #050f2c;
/* rgb */ color: rgb(5, 15, 44);
/* oklch */ color: oklch(18.0% 0.061 265.1);
Tailwind
colors: {
  custom: {
    50: '#4a4d65',
    500: '#050f2c',
    950: '#000000',
  },
}
SCSS
$custom: #050f2c;
$custom-light: #4a4d65;
$custom-dark: #000000;
JSON
{
  "hex": "#050f2c",
  "rgb": {
    "r": 5,
    "g": 15,
    "b": 44
  },
  "hsl": {
    "h": 224.615,
    "s": 79.592,
    "l": 9.608
  },
  "oklch": {
    "l": 0.18005,
    "c": 0.06088,
    "h": 265.1
  },
  "luminance": 0.00556
}

Semantic roles & 50–950 ramp

primary
#050F2C
secondary
#6E5A1F
accent
#C432F6
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010105
muted
#77777A

Preview Lab

Preview with #050F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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