#05122E#05122E

#05122E is a very dark, muted blue. Relative luminance 0.007; OKLCH L 19.0% C 0.060 H 262.3°. Best body text is #FFFFFF at 18.54:1 contrast (WCAG AA passes).

Color values

HEX#05122E
RGBrgb(5, 18, 46)
HSLhsl(221, 80%, 10%)
HSVhsv(221, 89%, 18%)
CMYKcmyk(89.1%, 60.9%, 0%, 82%)
CIE-LABlab(5.98, 5.85, -20.22)
CIE-LCHlch(5.98, 21.05, 286.12°)
OKLaboklab(19% -0.008 -0.0591)
OKLCHoklch(19% 0.06 262.3)
XYZxyz(0.7719, 0.6620, 2.6713)
Luminance0.0066 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05122E #2E2105
analogous
#05262E #05122E #0D052E
triadic
#05122E #2E0512 #122E05
tetradic
#05122E #2E0526 #2E2105 #052E0D
square
#05122E #2E0526 #2E2105 #052E0D
split-complementary
#05122E #2E0D05 #262E05
monochromatic
#030B1C #030B1C #05122E #0B2865 #113D9C

Accessibility & contrast

On white

18.54
#05122E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#05122E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05122E
18.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05122E#FFFFFF#000000##FFFFFF
##05122E1.0018.541.1318.54
#FFFFFF18.541.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03152F
Deuteranopia (green-blind)
#00112D
Tritanopia (blue-blind)
#00191D
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #05122e;
/* rgb */ color: rgb(5, 18, 46);
/* oklch */ color: oklch(19.0% 0.060 262.3);
Tailwind
colors: {
  custom: {
    50: '#4b4f67',
    500: '#05122e',
    950: '#000000',
  },
}
SCSS
$custom: #05122e;
$custom-light: #4b4f67;
$custom-dark: #000000;
JSON
{
  "hex": "#05122e",
  "rgb": {
    "r": 5,
    "g": 18,
    "b": 46
  },
  "hsl": {
    "h": 220.976,
    "s": 80.392,
    "l": 10
  },
  "oklch": {
    "l": 0.19001,
    "c": 0.05965,
    "h": 262.3
  },
  "luminance": 0.00662
}

Semantic roles & 50–950 ramp

primary
#05122E
secondary
#70561F
accent
#B831F7
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #05122E

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

Preview Lab → · Contrast checker → · Palette generator →

#05122E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva