#0D2842#0D2842

#0D2842 is a dark, muted cyan. Relative luminance 0.020; OKLCH L 27.1% C 0.059 H 250.2°. Best body text is #FFFFFF at 15.01:1 contrast (WCAG AA passes).

Color values

HEX#0D2842
RGBrgb(13, 40, 66)
HSLhsl(209, 67%, 15%)
HSVhsv(209, 80%, 26%)
CMYKcmyk(80.3%, 39.4%, 0%, 74.1%)
CIE-LABlab(15.47, 0.25, -19.40)
CIE-LCHlch(15.47, 19.40, 270.73°)
OKLaboklab(27.09% -0.0199 -0.0551)
OKLCHoklch(27.09% 0.059 250.2)
XYZxyz(1.9078, 1.9963, 5.4380)
Luminance0.0200 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2842 #42270D
analogous
#0D4241 #0D2842 #0D0D42
triadic
#0D2842 #420D28 #28420D
tetradic
#0D2842 #410D42 #42270D #0D420D
square
#0D2842 #410D42 #42270D #0D420D
split-complementary
#0D2842 #420D0D #42410D
monochromatic
#050F1A #050F1A #0D2842 #174775 #2166A8

Accessibility & contrast

On white

15.01
#0D2842 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#0D2842 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D2842
15.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2842#FFFFFF#000000##FFFFFF
##0D28421.0015.011.4015.01
#FFFFFF15.011.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2943
Deuteranopia (green-blind)
#152441
Tritanopia (blue-blind)
#002E31
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #0d2842;
/* rgb */ color: rgb(13, 40, 66);
/* oklch */ color: oklch(27.1% 0.059 250.2);
Tailwind
colors: {
  custom: {
    50: '#546176',
    500: '#0d2842',
    950: '#000000',
  },
}
SCSS
$custom: #0d2842;
$custom-light: #546176;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2842",
  "rgb": {
    "r": 13,
    "g": 40,
    "b": 66
  },
  "hsl": {
    "h": 209.434,
    "s": 67.089,
    "l": 15.49
  },
  "oklch": {
    "l": 0.27092,
    "c": 0.05857,
    "h": 250.2
  },
  "luminance": 0.01996
}

Semantic roles & 50–950 ramp

primary
#0D2842
secondary
#7E552D
accent
#923EEA
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030508
muted
#78797B

Preview Lab

Preview with #0D2842

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

Preview Lab → · Contrast checker → · Palette generator →

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