#0D2F60#0D2F60

#0D2F60 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.2% C 0.096 H 258.3°. Best body text is #FFFFFF at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#0D2F60
RGBrgb(13, 47, 96)
HSLhsl(215, 76%, 21%)
HSVhsv(215, 86%, 38%)
CMYKcmyk(86.5%, 51%, 0%, 62.4%)
CIE-LABlab(19.89, 8.29, -32.55)
CIE-LCHlch(19.89, 33.59, 284.28°)
OKLaboklab(31.2% -0.0194 -0.0936)
OKLCHoklch(31.2% 0.096 258.3)
XYZxyz(3.2930, 2.9627, 11.4624)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2F60 #603E0D
analogous
#0D5960 #0D2F60 #150D60
triadic
#0D2F60 #600D2F #2F600D
tetradic
#0D2F60 #600D59 #603E0D #0D6015
square
#0D2F60 #600D59 #603E0D #0D6015
split-complementary
#0D2F60 #60150D #59600D
monochromatic
#040D1B #06152A #0D2F60 #144996 #1C64CC

Accessibility & contrast

On white

13.19
#0D2F60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#0D2F60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D2F60
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2F60#FFFFFF#000000##FFFFFF
##0D2F601.0013.191.5913.19
#FFFFFF13.191.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133462
Deuteranopia (green-blind)
#002D5F
Tritanopia (blue-blind)
#003B42
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #0d2f60;
/* rgb */ color: rgb(13, 47, 96);
/* oklch */ color: oklch(31.2% 0.096 258.3);
Tailwind
colors: {
  custom: {
    50: '#5c668d',
    500: '#0d2f60',
    950: '#000000',
  },
}
SCSS
$custom: #0d2f60;
$custom-light: #5c668d;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2f60",
  "rgb": {
    "r": 13,
    "g": 47,
    "b": 96
  },
  "hsl": {
    "h": 215.422,
    "s": 76.147,
    "l": 21.373
  },
  "oklch": {
    "l": 0.31196,
    "c": 0.09557,
    "h": 258.3
  },
  "luminance": 0.02963
}

Semantic roles & 50–950 ramp

primary
#0D2F60
secondary
#9A6E2F
accent
#A535F3
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #0D2F60

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

Preview Lab → · Contrast checker → · Palette generator →

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