#0D304C#0D304C

#0D304C is a dark, moderate cyan. Relative luminance 0.027; OKLCH L 30.0% C 0.064 H 246.6°. Best body text is #FFFFFF at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#0D304C
RGBrgb(13, 48, 76)
HSLhsl(207, 71%, 17%)
HSVhsv(207, 83%, 30%)
CMYKcmyk(82.9%, 36.8%, 0%, 70.2%)
CIE-LABlab(18.89, -1.16, -20.83)
CIE-LCHlch(18.89, 20.86, 266.81°)
OKLaboklab(29.98% -0.0256 -0.0591)
OKLCHoklch(29.98% 0.064 246.6)
XYZxyz(2.5269, 2.7210, 7.2281)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D304C #4C290D
analogous
#0D4C49 #0D304C #0D104C
triadic
#0D304C #4C0D30 #304C0D
tetradic
#0D304C #490D4C #4C290D #104C0D
square
#0D304C #490D4C #4C290D #104C0D
split-complementary
#0D304C #4C0D10 #4C490D
monochromatic
#04111A #04111A #0D304C #165180 #1F72B5

Accessibility & contrast

On white

13.60
#0D304C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#0D304C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D304C
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D304C#FFFFFF#000000##FFFFFF
##0D304C1.0013.601.5413.60
#FFFFFF13.601.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23314D
Deuteranopia (green-blind)
#1A2B4B
Tritanopia (blue-blind)
#00373A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #0d304c;
/* rgb */ color: rgb(13, 48, 76);
/* oklch */ color: oklch(30.0% 0.064 246.6);
Tailwind
colors: {
  custom: {
    50: '#56687e',
    500: '#0d304c',
    950: '#000000',
  },
}
SCSS
$custom: #0d304c;
$custom-light: #56687e;
$custom-dark: #000000;
JSON
{
  "hex": "#0d304c",
  "rgb": {
    "r": 13,
    "g": 48,
    "b": 76
  },
  "hsl": {
    "h": 206.667,
    "s": 70.787,
    "l": 17.451
  },
  "oklch": {
    "l": 0.29981,
    "c": 0.06444,
    "h": 246.6
  },
  "luminance": 0.02721
}

Semantic roles & 50–950 ramp

primary
#0D304C
secondary
#87552E
accent
#8A3AEE
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#03060A
muted
#787A7C

Preview Lab

Preview with #0D304C

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

Preview Lab → · Contrast checker → · Palette generator →

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