#0D2C5A#0D2C5A

#0D2C5A is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.0% C 0.090 H 258.6°. Best body text is #FFFFFF at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#0D2C5A
RGBrgb(13, 44, 90)
HSLhsl(216, 75%, 20%)
HSVhsv(216, 86%, 35%)
CMYKcmyk(85.6%, 51.1%, 0%, 64.7%)
CIE-LABlab(18.47, 7.85, -30.87)
CIE-LCHlch(18.47, 31.85, 284.27°)
OKLaboklab(29.96% -0.0179 -0.0887)
OKLCHoklch(29.96% 0.09 258.6)
XYZxyz(2.9114, 2.6248, 10.0241)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2C5A #5A3B0D
analogous
#0D525A #0D2C5A #140D5A
triadic
#0D2C5A #5A0D2C #2C5A0D
tetradic
#0D2C5A #5A0D52 #5A3B0D #0D5A14
square
#0D2C5A #5A0D52 #5A3B0D #0D5A14
split-complementary
#0D2C5A #5A140D #525A0D
monochromatic
#040D1B #051225 #0D2C5A #15468F #1C60C5

Accessibility & contrast

On white

13.77
#0D2C5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#0D2C5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D2C5A
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2C5A#FFFFFF#000000##FFFFFF
##0D2C5A1.0013.771.5313.77
#FFFFFF13.771.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12315C
Deuteranopia (green-blind)
#002A59
Tritanopia (blue-blind)
#00373E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #0d2c5a;
/* rgb */ color: rgb(13, 44, 90);
/* oklch */ color: oklch(30.0% 0.090 258.6);
Tailwind
colors: {
  custom: {
    50: '#5a6489',
    500: '#0d2c5a',
    950: '#000000',
  },
}
SCSS
$custom: #0d2c5a;
$custom-light: #5a6489;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2c5a",
  "rgb": {
    "r": 13,
    "g": 44,
    "b": 90
  },
  "hsl": {
    "h": 215.844,
    "s": 74.757,
    "l": 20.196
  },
  "oklch": {
    "l": 0.2996,
    "c": 0.09048,
    "h": 258.6
  },
  "luminance": 0.02625
}

Semantic roles & 50–950 ramp

primary
#0D2C5A
secondary
#946B2E
accent
#A636F1
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#04050B
muted
#79797C

Preview Lab

Preview with #0D2C5A

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

Preview Lab → · Contrast checker → · Palette generator →

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