#0D2C64#0D2C64

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

Color values

HEX#0D2C64
RGBrgb(13, 44, 100)
HSLhsl(219, 77%, 22%)
HSVhsv(219, 87%, 39%)
CMYKcmyk(87%, 56%, 0%, 60.8%)
CIE-LABlab(19.25, 12.25, -36.21)
CIE-LCHlch(19.25, 38.23, 288.69°)
OKLaboklab(30.8% -0.0163 -0.1044)
OKLCHoklch(30.8% 0.106 261.1)
XYZxyz(3.3661, 2.8066, 12.4184)
Luminance0.0281 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2C64 #64450D
analogous
#0D5864 #0D2C64 #1A0D64
triadic
#0D2C64 #640D2C #2C640D
tetradic
#0D2C64 #640D58 #64450D #0D641A
square
#0D2C64 #640D58 #64450D #0D641A
split-complementary
#0D2C64 #641A0D #58640D
monochromatic
#040C1B #06142E #0D2C64 #14449A #1B5CD0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0D2C64#FFFFFF#000000##FFFFFF
##0D2C641.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)
#033366
Deuteranopia (green-blind)
#002B63
Tritanopia (blue-blind)
#003A43
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #0d2c64;
/* rgb */ color: rgb(13, 44, 100);
/* oklch */ color: oklch(30.8% 0.106 261.1);
Tailwind
colors: {
  custom: {
    50: '#5d6491',
    500: '#0d2c64',
    950: '#000000',
  },
}
SCSS
$custom: #0d2c64;
$custom-light: #5d6491;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2c64",
  "rgb": {
    "r": 13,
    "g": 44,
    "b": 100
  },
  "hsl": {
    "h": 218.621,
    "s": 76.991,
    "l": 22.157
  },
  "oklch": {
    "l": 0.30804,
    "c": 0.10568,
    "h": 261.1
  },
  "luminance": 0.02807
}

Semantic roles & 50–950 ramp

primary
#0D2C64
secondary
#9E762F
accent
#AF34F4
background
#F5F5F8
surface
#EAEAF0
border
#C6C6CB
text
#05050D
muted
#79797D

Preview Lab

Preview with #0D2C64

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

Preview Lab → · Contrast checker → · Palette generator →

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