#0D213C#0D213C

#0D213C is a very dark, muted cyan. Relative luminance 0.015; OKLCH L 24.7% C 0.058 H 256.6°. Best body text is #FFFFFF at 16.15:1 contrast (WCAG AA passes).

Color values

HEX#0D213C
RGBrgb(13, 33, 60)
HSLhsl(214, 64%, 14%)
HSVhsv(214, 78%, 24%)
CMYKcmyk(78.3%, 45%, 0%, 76.5%)
CIE-LABlab(12.60, 2.82, -19.74)
CIE-LCHlch(12.60, 19.94, 278.13°)
OKLaboklab(24.73% -0.0134 -0.0562)
OKLCHoklch(24.73% 0.058 256.6)
XYZxyz(1.5252, 1.4994, 4.4831)
Luminance0.0150 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D213C #3C280D
analogous
#0D393C #0D213C #110D3C
triadic
#0D213C #3C0D21 #213C0D
tetradic
#0D213C #3C0D39 #3C280D #0D3C11
square
#0D213C #3C0D39 #3C280D #0D3C11
split-complementary
#0D213C #3C110D #393C0D
monochromatic
#050E19 #050E19 #0D213C #183D6E #2358A1

Accessibility & contrast

On white

16.15
#0D213C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#0D213C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D213C
16.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D213C#FFFFFF#000000##FFFFFF
##0D213C1.0016.151.3016.15
#FFFFFF16.151.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15233D
Deuteranopia (green-blind)
#0E1F3B
Tritanopia (blue-blind)
#00272B
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #0d213c;
/* rgb */ color: rgb(13, 33, 60);
/* oklch */ color: oklch(24.7% 0.058 256.6);
Tailwind
colors: {
  custom: {
    50: '#525b72',
    500: '#0d213c',
    950: '#000000',
  },
}
SCSS
$custom: #0d213c;
$custom-light: #525b72;
$custom-dark: #000000;
JSON
{
  "hex": "#0d213c",
  "rgb": {
    "r": 13,
    "g": 33,
    "b": 60
  },
  "hsl": {
    "h": 214.468,
    "s": 64.384,
    "l": 14.314
  },
  "oklch": {
    "l": 0.24728,
    "c": 0.05781,
    "h": 256.6
  },
  "luminance": 0.015
}

Semantic roles & 50–950 ramp

primary
#0D213C
secondary
#78582D
accent
#A040E7
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020408
muted
#78797B

Preview Lab

Preview with #0D213C

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

Preview Lab → · Contrast checker → · Palette generator →

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