#0D305D#0D305D

#0D305D is a dark, moderate cyan. Relative luminance 0.030; OKLCH L 31.2% C 0.090 H 256.5°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#0D305D
RGBrgb(13, 48, 93)
HSLhsl(214, 75%, 21%)
HSVhsv(214, 86%, 36%)
CMYKcmyk(86%, 48.4%, 0%, 63.5%)
CIE-LABlab(20.00, 6.24, -30.40)
CIE-LCHlch(20.00, 31.03, 281.60°)
OKLaboklab(31.21% -0.0209 -0.0872)
OKLCHoklch(31.21% 0.09 256.5)
XYZxyz(3.1980, 2.9894, 10.7623)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D305D #5D3A0D
analogous
#0D585D #0D305D #120D5D
triadic
#0D305D #5D0D30 #305D0D
tetradic
#0D305D #5D0D58 #5D3A0D #0D5D12
square
#0D305D #5D0D58 #5D3A0D #0D5D12
split-complementary
#0D305D #5D120D #585D0D
monochromatic
#040E1B #051427 #0D305D #154C93 #1C67C8

Accessibility & contrast

On white

13.14
#0D305D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D305D
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D305D#FFFFFF#000000##FFFFFF
##0D305D1.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18345F
Deuteranopia (green-blind)
#062D5C
Tritanopia (blue-blind)
#003B42
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #0d305d;
/* rgb */ color: rgb(13, 48, 93);
/* oklch */ color: oklch(31.2% 0.090 256.5);
Tailwind
colors: {
  custom: {
    50: '#5b678b',
    500: '#0d305d',
    950: '#000000',
  },
}
SCSS
$custom: #0d305d;
$custom-light: #5b678b;
$custom-dark: #000000;
JSON
{
  "hex": "#0d305d",
  "rgb": {
    "r": 13,
    "g": 48,
    "b": 93
  },
  "hsl": {
    "h": 213.75,
    "s": 75.472,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31209,
    "c": 0.0897,
    "h": 256.5
  },
  "luminance": 0.0299
}

Semantic roles & 50–950 ramp

primary
#0D305D
secondary
#97692F
accent
#A036F2
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#04060C
muted
#797A7D

Preview Lab

Preview with #0D305D

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

Preview Lab → · Contrast checker → · Palette generator →

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