#0D213A#0D213A

#0D213A is a very dark, muted cyan. Relative luminance 0.015; OKLCH L 24.6% C 0.055 H 255.1°. Best body text is #FFFFFF at 16.21:1 contrast (WCAG AA passes).

Color values

HEX#0D213A
RGBrgb(13, 33, 58)
HSLhsl(213, 63%, 14%)
HSVhsv(213, 78%, 23%)
CMYKcmyk(77.6%, 43.1%, 0%, 77.3%)
CIE-LABlab(12.47, 1.95, -18.54)
CIE-LCHlch(12.47, 18.64, 275.99°)
OKLaboklab(24.58% -0.014 -0.0527)
OKLCHoklch(24.58% 0.055 255.1)
XYZxyz(1.4733, 1.4786, 4.2099)
Luminance0.0148 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D213A #3A260D
analogous
#0D383A #0D213A #100D3A
triadic
#0D213A #3A0D21 #213A0D
tetradic
#0D213A #3A0D38 #3A260D #0D3A10
square
#0D213A #3A0D38 #3A260D #0D3A10
split-complementary
#0D213A #3A100D #383A0D
monochromatic
#060E19 #060E19 #0D213A #183D6C #235A9E

Accessibility & contrast

On white

16.21
#0D213A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D213A
16.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D213A#FFFFFF#000000##FFFFFF
##0D213A1.0016.211.3016.21
#FFFFFF16.211.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16233B
Deuteranopia (green-blind)
#0F1F39
Tritanopia (blue-blind)
#00272A
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #0d213a;
/* rgb */ color: rgb(13, 33, 58);
/* oklch */ color: oklch(24.6% 0.055 255.1);
Tailwind
colors: {
  custom: {
    50: '#525b70',
    500: '#0d213a',
    950: '#000000',
  },
}
SCSS
$custom: #0d213a;
$custom-light: #525b70;
$custom-dark: #000000;
JSON
{
  "hex": "#0d213a",
  "rgb": {
    "r": 13,
    "g": 33,
    "b": 58
  },
  "hsl": {
    "h": 213.333,
    "s": 63.38,
    "l": 13.922
  },
  "oklch": {
    "l": 0.24582,
    "c": 0.05453,
    "h": 255.1
  },
  "luminance": 0.01479
}

Semantic roles & 50–950 ramp

primary
#0D213A
secondary
#76552D
accent
#9D41E6
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020407
muted
#78797A

Preview Lab

Preview with #0D213A

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

Preview Lab → · Contrast checker → · Palette generator →

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