#050A2F#050A2F

#050A2F is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.1% C 0.074 H 269.4°. Best body text is #FFFFFF at 19.25:1 contrast (WCAG AA passes).

Color values

HEX#050A2F
RGBrgb(5, 10, 47)
HSLhsl(233, 81%, 10%)
HSVhsv(233, 89%, 18%)
CMYKcmyk(89.4%, 78.7%, 0%, 81.6%)
CIE-LABlab(4.11, 10.32, -23.95)
CIE-LCHlch(4.11, 26.08, 293.32°)
OKLaboklab(17.11% -0.0007 -0.0737)
OKLCHoklch(17.11% 0.074 269.4)
XYZxyz(0.6840, 0.4545, 2.7405)
Luminance0.0046 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050A2F #2F2A05
analogous
#051F2F #050A2F #15052F
triadic
#050A2F #2F050A #0A2F05
tetradic
#050A2F #2F051F #2F2A05 #052F15
square
#050A2F #2F051F #2F2A05 #052F15
split-complementary
#050A2F #2F1505 #1F2F05
monochromatic
#03061C #03061C #050A2F #0B1666 #11229E

Accessibility & contrast

On white

19.25
#050A2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#050A2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #050A2F
19.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050A2F#FFFFFF#000000##FFFFFF
##050A2F1.0019.251.0919.25
#FFFFFF19.251.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001030
Deuteranopia (green-blind)
#000C2E
Tritanopia (blue-blind)
#00141B
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #050a2f;
/* rgb */ color: rgb(5, 10, 47);
/* oklch */ color: oklch(17.1% 0.074 269.4);
Tailwind
colors: {
  custom: {
    50: '#4b4b68',
    500: '#050a2f',
    950: '#000000',
  },
}
SCSS
$custom: #050a2f;
$custom-light: #4b4b68;
$custom-dark: #000000;
JSON
{
  "hex": "#050a2f",
  "rgb": {
    "r": 5,
    "g": 10,
    "b": 47
  },
  "hsl": {
    "h": 232.857,
    "s": 80.769,
    "l": 10.196
  },
  "oklch": {
    "l": 0.17109,
    "c": 0.07371,
    "h": 269.4
  },
  "luminance": 0.00455
}

Semantic roles & 50–950 ramp

primary
#050A2F
secondary
#71671F
accent
#E031F7
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #050A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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