#0D2138#0D2138

#0D2138 is a very dark, muted cyan. Relative luminance 0.015; OKLCH L 24.4% C 0.051 H 253.4°. Best body text is #FFFFFF at 16.26:1 contrast (WCAG AA passes).

Color values

HEX#0D2138
RGBrgb(13, 33, 56)
HSLhsl(212, 62%, 14%)
HSVhsv(212, 77%, 22%)
CMYKcmyk(76.8%, 41.1%, 0%, 78%)
CIE-LABlab(12.34, 1.08, -17.32)
CIE-LCHlch(12.34, 17.36, 273.55°)
OKLaboklab(24.44% -0.0146 -0.0491)
OKLCHoklch(24.44% 0.051 253.4)
XYZxyz(1.4234, 1.4587, 3.9471)
Luminance0.0146 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2138 #38240D
analogous
#0D3638 #0D2138 #0E0D38
triadic
#0D2138 #380D21 #21380D
tetradic
#0D2138 #380D36 #38240D #0D380E
square
#0D2138 #380D36 #38240D #0D380E
split-complementary
#0D2138 #380E0D #36380D
monochromatic
#060F19 #060F19 #0D2138 #193E6A #245C9B

Accessibility & contrast

On white

16.26
#0D2138 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#0D2138 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D2138
16.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2138#FFFFFF#000000##FFFFFF
##0D21381.0016.261.2916.26
#FFFFFF16.261.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172239
Deuteranopia (green-blind)
#111E38
Tritanopia (blue-blind)
#002629
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #0d2138;
/* rgb */ color: rgb(13, 33, 56);
/* oklch */ color: oklch(24.4% 0.051 253.4);
Tailwind
colors: {
  custom: {
    50: '#515b6e',
    500: '#0d2138',
    950: '#000000',
  },
}
SCSS
$custom: #0d2138;
$custom-light: #515b6e;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2138",
  "rgb": {
    "r": 13,
    "g": 33,
    "b": 56
  },
  "hsl": {
    "h": 212.093,
    "s": 62.319,
    "l": 13.529
  },
  "oklch": {
    "l": 0.24439,
    "c": 0.05128,
    "h": 253.4
  },
  "luminance": 0.01459
}

Semantic roles & 50–950 ramp

primary
#0D2138
secondary
#73532D
accent
#9A42E5
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020407
muted
#78797A

Preview Lab

Preview with #0D2138

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

Preview Lab → · Contrast checker → · Palette generator →

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