#0D2D60#0D2D60

#0D2D60 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.7% C 0.098 H 259.6°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#0D2D60
RGBrgb(13, 45, 96)
HSLhsl(217, 76%, 21%)
HSVhsv(217, 86%, 38%)
CMYKcmyk(86.5%, 53.1%, 0%, 62.4%)
CIE-LABlab(19.25, 9.75, -33.59)
CIE-LCHlch(19.25, 34.97, 286.20°)
OKLaboklab(30.7% -0.0177 -0.0967)
OKLCHoklch(30.7% 0.098 259.6)
XYZxyz(3.2149, 2.8065, 11.4363)
Luminance0.0281 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2D60 #60400D
analogous
#0D5760 #0D2D60 #160D60
triadic
#0D2D60 #600D2D #2D600D
tetradic
#0D2D60 #600D57 #60400D #0D6016
square
#0D2D60 #600D57 #60400D #0D6016
split-complementary
#0D2D60 #60160D #57600D
monochromatic
#040D1B #06142A #0D2D60 #144696 #1C60CC

Accessibility & contrast

On white

13.45
#0D2D60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#0D2D60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D2D60
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2D60#FFFFFF#000000##FFFFFF
##0D2D601.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3362
Deuteranopia (green-blind)
#002B5F
Tritanopia (blue-blind)
#003942
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #0d2d60;
/* rgb */ color: rgb(13, 45, 96);
/* oklch */ color: oklch(30.7% 0.098 259.6);
Tailwind
colors: {
  custom: {
    50: '#5c658e',
    500: '#0d2d60',
    950: '#000000',
  },
}
SCSS
$custom: #0d2d60;
$custom-light: #5c658e;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2d60",
  "rgb": {
    "r": 13,
    "g": 45,
    "b": 96
  },
  "hsl": {
    "h": 216.867,
    "s": 76.147,
    "l": 21.373
  },
  "oklch": {
    "l": 0.30703,
    "c": 0.09827,
    "h": 259.6
  },
  "luminance": 0.02807
}

Semantic roles & 50–950 ramp

primary
#0D2D60
secondary
#9A712F
accent
#AA35F3
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05050C
muted
#797A7D

Preview Lab

Preview with #0D2D60

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

Preview Lab → · Contrast checker → · Palette generator →

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