#0D2C4C#0D2C4C

#0D2C4C is a dark, moderate cyan. Relative luminance 0.024; OKLCH L 28.9% C 0.069 H 252.1°. Best body text is #FFFFFF at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#0D2C4C
RGBrgb(13, 44, 76)
HSLhsl(210, 71%, 17%)
HSVhsv(210, 83%, 30%)
CMYKcmyk(82.9%, 42.1%, 0%, 70.2%)
CIE-LABlab(17.50, 1.69, -23.03)
CIE-LCHlch(17.50, 23.09, 274.21°)
OKLaboklab(28.89% -0.0213 -0.0656)
OKLCHoklch(28.89% 0.069 252.1)
XYZxyz(2.3707, 2.4085, 7.1760)
Luminance0.0241 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2C4C #4C2D0D
analogous
#0D4C4C #0D2C4C #0D0D4C
triadic
#0D2C4C #4C0D2C #2C4C0D
tetradic
#0D2C4C #4C0D4C #4C2D0D #0D4C0D
square
#0D2C4C #4C0D4C #4C2D0D #0D4C0D
split-complementary
#0D2C4C #4C0D0D #4C4C0D
monochromatic
#040F1A #040F1A #0D2C4C #164A80 #1F69B5

Accessibility & contrast

On white

14.17
#0D2C4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D2C4C
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2C4C#FFFFFF#000000##FFFFFF
##0D2C4C1.0014.171.4814.17
#FFFFFF14.171.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2E4D
Deuteranopia (green-blind)
#13284B
Tritanopia (blue-blind)
#003438
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #0d2c4c;
/* rgb */ color: rgb(13, 44, 76);
/* oklch */ color: oklch(28.9% 0.069 252.1);
Tailwind
colors: {
  custom: {
    50: '#56647e',
    500: '#0d2c4c',
    950: '#000000',
  },
}
SCSS
$custom: #0d2c4c;
$custom-light: #56647e;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2c4c",
  "rgb": {
    "r": 13,
    "g": 44,
    "b": 76
  },
  "hsl": {
    "h": 210.476,
    "s": 70.787,
    "l": 17.451
  },
  "oklch": {
    "l": 0.2889,
    "c": 0.06901,
    "h": 252.1
  },
  "luminance": 0.02409
}

Semantic roles & 50–950 ramp

primary
#0D2C4C
secondary
#875B2E
accent
#953AEE
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#03050A
muted
#78797C

Preview Lab

Preview with #0D2C4C

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

Preview Lab → · Contrast checker → · Palette generator →

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