#0D2D63#0D2D63

#0D2D63 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.0% C 0.103 H 260.3°. Best body text is #FFFFFF at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#0D2D63
RGBrgb(13, 45, 99)
HSLhsl(218, 77%, 22%)
HSVhsv(218, 87%, 39%)
CMYKcmyk(86.9%, 54.5%, 0%, 61.2%)
CIE-LABlab(19.49, 11.07, -35.18)
CIE-LCHlch(19.49, 36.88, 287.47°)
OKLaboklab(30.96% -0.0173 -0.1013)
OKLCHoklch(30.96% 0.103 260.3)
XYZxyz(3.3557, 2.8628, 12.1777)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2D63 #63430D
analogous
#0D5863 #0D2D63 #180D63
triadic
#0D2D63 #630D2D #2D630D
tetradic
#0D2D63 #630D58 #63430D #0D6318
square
#0D2D63 #630D58 #63430D #0D6318
split-complementary
#0D2D63 #63180D #58630D
monochromatic
#040C1B #06142D #0D2D63 #144699 #1B5ECF

Accessibility & contrast

On white

13.35
#0D2D63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#0D2D63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D2D63
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2D63#FFFFFF#000000##FFFFFF
##0D2D631.0013.351.5713.35
#FFFFFF13.351.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093365
Deuteranopia (green-blind)
#002C62
Tritanopia (blue-blind)
#003A43
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #0d2d63;
/* rgb */ color: rgb(13, 45, 99);
/* oklch */ color: oklch(31.0% 0.103 260.3);
Tailwind
colors: {
  custom: {
    50: '#5c6590',
    500: '#0d2d63',
    950: '#000000',
  },
}
SCSS
$custom: #0d2d63;
$custom-light: #5c6590;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2d63",
  "rgb": {
    "r": 13,
    "g": 45,
    "b": 99
  },
  "hsl": {
    "h": 217.674,
    "s": 76.786,
    "l": 21.961
  },
  "oklch": {
    "l": 0.30957,
    "c": 0.10281,
    "h": 260.3
  },
  "luminance": 0.02863
}

Semantic roles & 50–950 ramp

primary
#0D2D63
secondary
#9D742F
accent
#AC34F3
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05050C
muted
#797A7D

Preview Lab

Preview with #0D2D63

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

Preview Lab → · Contrast checker → · Palette generator →

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