#050F28#050F28

#050F28 is a very dark, muted blue. Relative luminance 0.005; OKLCH L 17.6% C 0.054 H 263.8°. Best body text is #FFFFFF at 19.00:1 contrast (WCAG AA passes).

Color values

HEX#050F28
RGBrgb(5, 15, 40)
HSLhsl(223, 78%, 9%)
HSVhsv(223, 88%, 16%)
CMYKcmyk(87.5%, 62.5%, 0%, 84.3%)
CIE-LABlab(4.76, 4.73, -17.64)
CIE-LCHlch(4.76, 18.26, 285.00°)
OKLaboklab(17.62% -0.0058 -0.0535)
OKLCHoklch(17.62% 0.054 263.8)
XYZxyz(0.6163, 0.5270, 2.0763)
Luminance0.0053 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050F28 #281E05
analogous
#052128 #050F28 #0D0528
triadic
#050F28 #28050F #0F2805
tetradic
#050F28 #280521 #281E05 #05280D
square
#050F28 #280521 #281E05 #05280D
split-complementary
#050F28 #280D05 #212805
monochromatic
#030A1B #030A1B #050F28 #0C235E #133895

Accessibility & contrast

On white

19.00
#050F28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #050F28
19.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050F28#FFFFFF#000000##FFFFFF
##050F281.0019.001.1119.00
#FFFFFF19.001.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF19.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #050f28;
/* rgb */ color: rgb(5, 15, 40);
/* oklch */ color: oklch(17.6% 0.054 263.8);
Tailwind
colors: {
  custom: {
    50: '#494e62',
    500: '#050f28',
    950: '#000000',
  },
}
SCSS
$custom: #050f28;
$custom-light: #494e62;
$custom-dark: #000000;
JSON
{
  "hex": "#050f28",
  "rgb": {
    "r": 5,
    "g": 15,
    "b": 40
  },
  "hsl": {
    "h": 222.857,
    "s": 77.778,
    "l": 8.824
  },
  "oklch": {
    "l": 0.17618,
    "c": 0.0538,
    "h": 263.8
  },
  "luminance": 0.00527
}

Semantic roles & 50–950 ramp

primary
#050F28
secondary
#6A541F
accent
#BD34F4
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#010105
muted
#777779

Preview Lab

Preview with #050F28

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

Preview Lab → · Contrast checker → · Palette generator →

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