#0D2C60#0D2C60

#0D2C60 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.5% C 0.100 H 260.2°. Best body text is #FFFFFF at 13.58:1 contrast (WCAG AA passes).

Color values

HEX#0D2C60
RGBrgb(13, 44, 96)
HSLhsl(218, 76%, 21%)
HSVhsv(218, 86%, 38%)
CMYKcmyk(86.5%, 54.2%, 0%, 62.4%)
CIE-LABlab(18.93, 10.49, -34.10)
CIE-LCHlch(18.93, 35.68, 287.10°)
OKLaboklab(30.46% -0.0169 -0.0982)
OKLCHoklch(30.46% 0.1 260.2)
XYZxyz(3.1772, 2.7311, 11.4238)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2C60 #60410D
analogous
#0D5660 #0D2C60 #170D60
triadic
#0D2C60 #600D2C #2C600D
tetradic
#0D2C60 #600D56 #60410D #0D6017
square
#0D2C60 #600D56 #60410D #0D6017
split-complementary
#0D2C60 #60170D #56600D
monochromatic
#040C1B #06132A #0D2C60 #144596 #1C5DCC

Accessibility & contrast

On white

13.58
#0D2C60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#0D2C60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D2C60
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2C60#FFFFFF#000000##FFFFFF
##0D2C601.0013.581.5513.58
#FFFFFF13.581.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A3262
Deuteranopia (green-blind)
#002A5F
Tritanopia (blue-blind)
#003941
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #0d2c60;
/* rgb */ color: rgb(13, 44, 96);
/* oklch */ color: oklch(30.5% 0.100 260.2);
Tailwind
colors: {
  custom: {
    50: '#5c648e',
    500: '#0d2c60',
    950: '#000000',
  },
}
SCSS
$custom: #0d2c60;
$custom-light: #5c648e;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2c60",
  "rgb": {
    "r": 13,
    "g": 44,
    "b": 96
  },
  "hsl": {
    "h": 217.59,
    "s": 76.147,
    "l": 21.373
  },
  "oklch": {
    "l": 0.30459,
    "c": 0.09964,
    "h": 260.2
  },
  "luminance": 0.02731
}

Semantic roles & 50–950 ramp

primary
#0D2C60
secondary
#9A722F
accent
#AC35F3
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #0D2C60

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

Preview Lab → · Contrast checker → · Palette generator →

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