#0D2E60#0D2E60

#0D2E60 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 30.9% C 0.097 H 258.9°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#0D2E60
RGBrgb(13, 46, 96)
HSLhsl(216, 76%, 21%)
HSVhsv(216, 86%, 38%)
CMYKcmyk(86.5%, 52.1%, 0%, 62.4%)
CIE-LABlab(19.57, 9.02, -33.07)
CIE-LCHlch(19.57, 34.28, 285.25°)
OKLaboklab(30.95% -0.0186 -0.0951)
OKLCHoklch(30.95% 0.097 258.9)
XYZxyz(3.2535, 2.8837, 11.4492)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2E60 #603F0D
analogous
#0D5860 #0D2E60 #160D60
triadic
#0D2E60 #600D2E #2E600D
tetradic
#0D2E60 #600D58 #603F0D #0D6016
square
#0D2E60 #600D58 #603F0D #0D6016
split-complementary
#0D2E60 #60160D #58600D
monochromatic
#040D1B #06142A #0D2E60 #144896 #1C62CC

Accessibility & contrast

On white

13.32
#0D2E60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#0D2E60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D2E60
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2E60#FFFFFF#000000##FFFFFF
##0D2E601.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113362
Deuteranopia (green-blind)
#002C5F
Tritanopia (blue-blind)
#003A42
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #0d2e60;
/* rgb */ color: rgb(13, 46, 96);
/* oklch */ color: oklch(30.9% 0.097 258.9);
Tailwind
colors: {
  custom: {
    50: '#5c668d',
    500: '#0d2e60',
    950: '#000000',
  },
}
SCSS
$custom: #0d2e60;
$custom-light: #5c668d;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2e60",
  "rgb": {
    "r": 13,
    "g": 46,
    "b": 96
  },
  "hsl": {
    "h": 216.145,
    "s": 76.147,
    "l": 21.373
  },
  "oklch": {
    "l": 0.30949,
    "c": 0.09692,
    "h": 258.9
  },
  "luminance": 0.02884
}

Semantic roles & 50–950 ramp

primary
#0D2E60
secondary
#9A6F2F
accent
#A735F3
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05050C
muted
#797A7D

Preview Lab

Preview with #0D2E60

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

Preview Lab → · Contrast checker → · Palette generator →

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