#05172E#05172E

#05172E is a very dark, muted cyan. Relative luminance 0.008; OKLCH L 20.4% C 0.052 H 255.0°. Best body text is #FFFFFF at 17.97:1 contrast (WCAG AA passes).

Color values

HEX#05172E
RGBrgb(5, 23, 46)
HSLhsl(214, 80%, 10%)
HSVhsv(214, 89%, 18%)
CMYKcmyk(89.1%, 50%, 0%, 82%)
CIE-LABlab(7.61, 2.51, -17.63)
CIE-LCHlch(7.61, 17.81, 278.10°)
OKLaboklab(20.4% -0.0135 -0.0504)
OKLCHoklch(20.4% 0.052 255)
XYZxyz(0.8619, 0.8422, 2.7014)
Luminance0.0084 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05172E #2E1C05
analogous
#052B2E #05172E #08052E
triadic
#05172E #2E0517 #172E05
tetradic
#05172E #2E052B #2E1C05 #052E08
square
#05172E #2E052B #2E1C05 #052E08
split-complementary
#05172E #2E0805 #2B2E05
monochromatic
#030E1C #030E1C #05172E #0B3365 #114E9C

Accessibility & contrast

On white

17.97
#05172E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#05172E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05172E
17.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05172E#FFFFFF#000000##FFFFFF
##05172E1.0017.971.1717.97
#FFFFFF17.971.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C192F
Deuteranopia (green-blind)
#06152E
Tritanopia (blue-blind)
#001C20
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #05172e;
/* rgb */ color: rgb(5, 23, 46);
/* oklch */ color: oklch(20.4% 0.052 255.0);
Tailwind
colors: {
  custom: {
    50: '#4b5367',
    500: '#05172e',
    950: '#000000',
  },
}
SCSS
$custom: #05172e;
$custom-light: #4b5367;
$custom-dark: #000000;
JSON
{
  "hex": "#05172e",
  "rgb": {
    "r": 5,
    "g": 23,
    "b": 46
  },
  "hsl": {
    "h": 213.659,
    "s": 80.392,
    "l": 10
  },
  "oklch": {
    "l": 0.20404,
    "c": 0.05218,
    "h": 255
  },
  "luminance": 0.00842
}

Semantic roles & 50–950 ramp

primary
#05172E
secondary
#704C1F
accent
#A031F7
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #05172E

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

Preview Lab → · Contrast checker → · Palette generator →

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