#050F27#050F27

#050F27 is a very dark, muted blue. Relative luminance 0.005; OKLCH L 17.5% C 0.052 H 263.4°. Best body text is #FFFFFF at 19.02:1 contrast (WCAG AA passes).

Color values

HEX#050F27
RGBrgb(5, 15, 39)
HSLhsl(222, 77%, 9%)
HSVhsv(222, 87%, 15%)
CMYKcmyk(87.2%, 61.5%, 0%, 84.7%)
CIE-LABlab(4.70, 4.30, -16.97)
CIE-LCHlch(4.70, 17.51, 284.22°)
OKLaboklab(17.52% -0.0059 -0.0517)
OKLCHoklch(17.52% 0.052 263.4)
XYZxyz(0.5995, 0.5203, 1.9879)
Luminance0.0052 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050F27 #271D05
analogous
#052027 #050F27 #0C0527
triadic
#050F27 #27050F #0F2705
tetradic
#050F27 #270520 #271D05 #05270C
square
#050F27 #270520 #271D05 #05270C
split-complementary
#050F27 #270C05 #202705
monochromatic
#030A1B #030A1B #050F27 #0C245D #133993

Accessibility & contrast

On white

19.02
#050F27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#050F27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #050F27
19.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050F27#FFFFFF#000000##FFFFFF
##050F271.0019.021.1019.02
#FFFFFF19.021.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041228
Deuteranopia (green-blind)
#000F27
Tritanopia (blue-blind)
#001519
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #050f27;
/* rgb */ color: rgb(5, 15, 39);
/* oklch */ color: oklch(17.5% 0.052 263.4);
Tailwind
colors: {
  custom: {
    50: '#494e61',
    500: '#050f27',
    950: '#000000',
  },
}
SCSS
$custom: #050f27;
$custom-light: #494e61;
$custom-dark: #000000;
JSON
{
  "hex": "#050f27",
  "rgb": {
    "r": 5,
    "g": 15,
    "b": 39
  },
  "hsl": {
    "h": 222.353,
    "s": 77.273,
    "l": 8.627
  },
  "oklch": {
    "l": 0.17525,
    "c": 0.052,
    "h": 263.4
  },
  "luminance": 0.0052
}

Semantic roles & 50–950 ramp

primary
#050F27
secondary
#69531F
accent
#BB34F4
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010105
muted
#777779

Preview Lab

Preview with #050F27

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

Preview Lab → · Contrast checker → · Palette generator →

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