#0D284C#0D284C

#0D284C is a dark, moderate cyan. Relative luminance 0.021; OKLCH L 27.8% C 0.074 H 256.7°. Best body text is #FFFFFF at 14.74:1 contrast (WCAG AA passes).

Color values

HEX#0D284C
RGBrgb(13, 40, 76)
HSLhsl(214, 71%, 17%)
HSVhsv(214, 83%, 30%)
CMYKcmyk(82.9%, 47.4%, 0%, 70.2%)
CIE-LABlab(16.13, 4.63, -25.21)
CIE-LCHlch(16.13, 25.64, 280.40°)
OKLaboklab(27.82% -0.017 -0.0722)
OKLCHoklch(27.82% 0.074 256.7)
XYZxyz(2.2288, 2.1247, 7.1287)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D284C #4C310D
analogous
#0D474C #0D284C #120D4C
triadic
#0D284C #4C0D28 #284C0D
tetradic
#0D284C #4C0D47 #4C310D #0D4C12
square
#0D284C #4C0D47 #4C310D #0D4C12
split-complementary
#0D284C #4C120D #474C0D
monochromatic
#040E1A #040E1A #0D284C #164480 #1F5FB5

Accessibility & contrast

On white

14.74
#0D284C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#0D284C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D284C
14.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D284C#FFFFFF#000000##FFFFFF
##0D284C1.0014.741.4314.74
#FFFFFF14.741.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162B4D
Deuteranopia (green-blind)
#0B254B
Tritanopia (blue-blind)
#003036
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0d284c;
/* rgb */ color: rgb(13, 40, 76);
/* oklch */ color: oklch(27.8% 0.074 256.7);
Tailwind
colors: {
  custom: {
    50: '#56617e',
    500: '#0d284c',
    950: '#000000',
  },
}
SCSS
$custom: #0d284c;
$custom-light: #56617e;
$custom-dark: #000000;
JSON
{
  "hex": "#0d284c",
  "rgb": {
    "r": 13,
    "g": 40,
    "b": 76
  },
  "hsl": {
    "h": 214.286,
    "s": 70.787,
    "l": 17.451
  },
  "oklch": {
    "l": 0.27822,
    "c": 0.07413,
    "h": 256.7
  },
  "luminance": 0.02125
}

Semantic roles & 50–950 ramp

primary
#0D284C
secondary
#87612E
accent
#A13AEE
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#03050A
muted
#78797C

Preview Lab

Preview with #0D284C

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

Preview Lab → · Contrast checker → · Palette generator →

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