#0D305C#0D305C

#0D305C is a dark, moderate cyan. Relative luminance 0.030; OKLCH L 31.1% C 0.088 H 256.1°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#0D305C
RGBrgb(13, 48, 92)
HSLhsl(213, 75%, 21%)
HSVhsv(213, 86%, 36%)
CMYKcmyk(85.9%, 47.8%, 0%, 63.9%)
CIE-LABlab(19.93, 5.80, -29.85)
CIE-LCHlch(19.93, 30.41, 280.99°)
OKLaboklab(31.13% -0.0211 -0.0856)
OKLCHoklch(31.13% 0.088 256.1)
XYZxyz(3.1540, 2.9718, 10.5305)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D305C #5C390D
analogous
#0D575C #0D305C #120D5C
triadic
#0D305C #5C0D30 #305C0D
tetradic
#0D305C #5C0D57 #5C390D #0D5C12
square
#0D305C #5C0D57 #5C390D #0D5C12
split-complementary
#0D305C #5C120D #575C0D
monochromatic
#040E1B #051426 #0D305C #154C92 #1C68C7

Accessibility & contrast

On white

13.17
#0D305C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#0D305C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D305C
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D305C#FFFFFF#000000##FFFFFF
##0D305C1.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19345E
Deuteranopia (green-blind)
#082D5B
Tritanopia (blue-blind)
#003A41
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #0d305c;
/* rgb */ color: rgb(13, 48, 92);
/* oklch */ color: oklch(31.1% 0.088 256.1);
Tailwind
colors: {
  custom: {
    50: '#5a678a',
    500: '#0d305c',
    950: '#000000',
  },
}
SCSS
$custom: #0d305c;
$custom-light: #5a678a;
$custom-dark: #000000;
JSON
{
  "hex": "#0d305c",
  "rgb": {
    "r": 13,
    "g": 48,
    "b": 92
  },
  "hsl": {
    "h": 213.418,
    "s": 75.238,
    "l": 20.588
  },
  "oklch": {
    "l": 0.31132,
    "c": 0.08818,
    "h": 256.1
  },
  "luminance": 0.02972
}

Semantic roles & 50–950 ramp

primary
#0D305C
secondary
#96682F
accent
#9F36F2
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#04060C
muted
#797A7D

Preview Lab

Preview with #0D305C

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

Preview Lab → · Contrast checker → · Palette generator →

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