#0D2C4D#0D2C4D

#0D2C4D is a dark, moderate cyan. Relative luminance 0.024; OKLCH L 29.0% C 0.071 H 252.7°. Best body text is #FFFFFF at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#0D2C4D
RGBrgb(13, 44, 77)
HSLhsl(211, 71%, 18%)
HSVhsv(211, 83%, 30%)
CMYKcmyk(83.1%, 42.9%, 0%, 69.8%)
CIE-LABlab(17.56, 2.13, -23.60)
CIE-LCHlch(17.56, 23.70, 275.16°)
OKLaboklab(28.96% -0.021 -0.0673)
OKLCHoklch(28.96% 0.071 252.7)
XYZxyz(2.4057, 2.4225, 7.3605)
Luminance0.0242 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2C4D #4D2E0D
analogous
#0D4C4D #0D2C4D #0E0D4D
triadic
#0D2C4D #4D0D2C #2C4D0D
tetradic
#0D2C4D #4D0D4C #4D2E0D #0D4D0E
square
#0D2C4D #4D0D4C #4D2E0D #0D4D0E
split-complementary
#0D2C4D #4D0E0D #4C4D0D
monochromatic
#040F1A #040F1A #0D2C4D #164A81 #1F68B6

Accessibility & contrast

On white

14.15
#0D2C4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#0D2C4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D2C4D
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2C4D#FFFFFF#000000##FFFFFF
##0D2C4D1.0014.151.4814.15
#FFFFFF14.151.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2E4E
Deuteranopia (green-blind)
#12284C
Tritanopia (blue-blind)
#003438
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #0d2c4d;
/* rgb */ color: rgb(13, 44, 77);
/* oklch */ color: oklch(29.0% 0.071 252.7);
Tailwind
colors: {
  custom: {
    50: '#56647f',
    500: '#0d2c4d',
    950: '#000000',
  },
}
SCSS
$custom: #0d2c4d;
$custom-light: #56647f;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2c4d",
  "rgb": {
    "r": 13,
    "g": 44,
    "b": 77
  },
  "hsl": {
    "h": 210.938,
    "s": 71.111,
    "l": 17.647
  },
  "oklch": {
    "l": 0.28961,
    "c": 0.07052,
    "h": 252.7
  },
  "luminance": 0.02423
}

Semantic roles & 50–950 ramp

primary
#0D2C4D
secondary
#885C2E
accent
#973AEE
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#03050A
muted
#78797C

Preview Lab

Preview with #0D2C4D

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

Preview Lab → · Contrast checker → · Palette generator →

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