#0D4158#0D4158

#0D4158 is a dark, moderate cyan. Relative luminance 0.046; OKLCH L 35.4% C 0.065 H 232.6°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#0D4158
RGBrgb(13, 65, 88)
HSLhsl(198, 74%, 20%)
HSVhsv(198, 85%, 35%)
CMYKcmyk(85.2%, 26.1%, 0%, 65.5%)
CIE-LABlab(25.47, -7.54, -18.46)
CIE-LCHlch(25.47, 19.94, 247.78°)
OKLaboklab(35.42% -0.0397 -0.052)
OKLCHoklch(35.42% 0.065 232.6)
XYZxyz(3.8170, 4.5703, 9.9116)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D4158 #58240D
analogous
#0D584A #0D4158 #0D1C58
triadic
#0D4158 #580D41 #41580D
tetradic
#0D4158 #4A0D58 #58240D #1C580D
square
#0D4158 #4A0D58 #58240D #1C580D
split-complementary
#0D4158 #580D1C #584A0D
monochromatic
#04141B #051A23 #0D4158 #15688D #1D90C3

Accessibility & contrast

On white

10.97
#0D4158 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#0D4158 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D4158
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D4158#FFFFFF#000000##FFFFFF
##0D41581.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364059
Deuteranopia (green-blind)
#2C3958
Tritanopia (blue-blind)
#004749
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #0d4158;
/* rgb */ color: rgb(13, 65, 88);
/* oklch */ color: oklch(35.4% 0.065 232.6);
Tailwind
colors: {
  custom: {
    50: '#5a7587',
    500: '#0d4158',
    950: '#000000',
  },
}
SCSS
$custom: #0d4158;
$custom-light: #5a7587;
$custom-dark: #000000;
JSON
{
  "hex": "#0d4158",
  "rgb": {
    "r": 13,
    "g": 65,
    "b": 88
  },
  "hsl": {
    "h": 198.4,
    "s": 74.257,
    "l": 19.804
  },
  "oklch": {
    "l": 0.35417,
    "c": 0.06546,
    "h": 232.6
  },
  "luminance": 0.04571
}

Semantic roles & 50–950 ramp

primary
#0D4158
secondary
#934D2E
accent
#7037F1
background
#F5F7F8
surface
#E9EDEF
border
#C5C8CA
text
#04080B
muted
#797B7C

Preview Lab

Preview with #0D4158

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

Preview Lab → · Contrast checker → · Palette generator →

#0D4158 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva