#0D305F#0D305F

#0D305F is a dark, moderate cyan. Relative luminance 0.030; OKLCH L 31.4% C 0.093 H 257.2°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#0D305F
RGBrgb(13, 48, 95)
HSLhsl(214, 76%, 21%)
HSVhsv(214, 86%, 37%)
CMYKcmyk(86.3%, 49.5%, 0%, 62.7%)
CIE-LABlab(20.14, 7.12, -31.49)
CIE-LCHlch(20.14, 32.28, 282.73°)
OKLaboklab(31.37% -0.0205 -0.0904)
OKLCHoklch(31.37% 0.093 257.2)
XYZxyz(3.2877, 3.0253, 11.2349)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D305F #5F3C0D
analogous
#0D595F #0D305F #130D5F
triadic
#0D305F #5F0D30 #305F0D
tetradic
#0D305F #5F0D59 #5F3C0D #0D5F13
square
#0D305F #5F0D59 #5F3C0D #0D5F13
split-complementary
#0D305F #5F130D #595F0D
monochromatic
#040E1B #061529 #0D305F #144B95 #1C66CB

Accessibility & contrast

On white

13.08
#0D305F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#0D305F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D305F
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D305F#FFFFFF#000000##FFFFFF
##0D305F1.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163561
Deuteranopia (green-blind)
#032D5E
Tritanopia (blue-blind)
#003B42
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #0d305f;
/* rgb */ color: rgb(13, 48, 95);
/* oklch */ color: oklch(31.4% 0.093 257.2);
Tailwind
colors: {
  custom: {
    50: '#5b678d',
    500: '#0d305f',
    950: '#000000',
  },
}
SCSS
$custom: #0d305f;
$custom-light: #5b678d;
$custom-dark: #000000;
JSON
{
  "hex": "#0d305f",
  "rgb": {
    "r": 13,
    "g": 48,
    "b": 95
  },
  "hsl": {
    "h": 214.39,
    "s": 75.926,
    "l": 21.176
  },
  "oklch": {
    "l": 0.31366,
    "c": 0.09272,
    "h": 257.2
  },
  "luminance": 0.03026
}

Semantic roles & 50–950 ramp

primary
#0D305F
secondary
#996C2F
accent
#A235F3
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#04060C
muted
#797A7D

Preview Lab

Preview with #0D305F

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

Preview Lab → · Contrast checker → · Palette generator →

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