#0D305E#0D305E

#0D305E is a dark, moderate cyan. Relative luminance 0.030; OKLCH L 31.3% C 0.091 H 256.9°. Best body text is #FFFFFF at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#0D305E
RGBrgb(13, 48, 94)
HSLhsl(214, 76%, 21%)
HSVhsv(214, 86%, 37%)
CMYKcmyk(86.2%, 48.9%, 0%, 63.1%)
CIE-LABlab(20.07, 6.68, -30.95)
CIE-LCHlch(20.07, 31.66, 282.18°)
OKLaboklab(31.29% -0.0207 -0.0888)
OKLCHoklch(31.29% 0.091 256.9)
XYZxyz(3.2426, 3.0072, 10.9971)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D305E #5E3B0D
analogous
#0D585E #0D305E #120D5E
triadic
#0D305E #5E0D30 #305E0D
tetradic
#0D305E #5E0D58 #5E3B0D #0D5E12
square
#0D305E #5E0D58 #5E3B0D #0D5E12
split-complementary
#0D305E #5E120D #585E0D
monochromatic
#040E1B #061528 #0D305E #144B94 #1C67CA

Accessibility & contrast

On white

13.11
#0D305E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#0D305E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D305E
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D305E#FFFFFF#000000##FFFFFF
##0D305E1.0013.111.6013.11
#FFFFFF13.111.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173460
Deuteranopia (green-blind)
#052D5D
Tritanopia (blue-blind)
#003B42
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #0d305e;
/* rgb */ color: rgb(13, 48, 94);
/* oklch */ color: oklch(31.3% 0.091 256.9);
Tailwind
colors: {
  custom: {
    50: '#5b678c',
    500: '#0d305e',
    950: '#000000',
  },
}
SCSS
$custom: #0d305e;
$custom-light: #5b678c;
$custom-dark: #000000;
JSON
{
  "hex": "#0d305e",
  "rgb": {
    "r": 13,
    "g": 48,
    "b": 94
  },
  "hsl": {
    "h": 214.074,
    "s": 75.701,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31287,
    "c": 0.0912,
    "h": 256.9
  },
  "luminance": 0.03008
}

Semantic roles & 50–950 ramp

primary
#0D305E
secondary
#986B2F
accent
#A136F2
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#04060C
muted
#797A7D

Preview Lab

Preview with #0D305E

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

Preview Lab → · Contrast checker → · Palette generator →

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