#0D2D5E#0D2D5E

#0D2D5E is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.5% C 0.095 H 259.1°. Best body text is #FFFFFF at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#0D2D5E
RGBrgb(13, 45, 94)
HSLhsl(216, 76%, 21%)
HSVhsv(216, 86%, 37%)
CMYKcmyk(86.2%, 52.1%, 0%, 63.1%)
CIE-LABlab(19.10, 8.88, -32.51)
CIE-LCHlch(19.10, 33.70, 285.27°)
OKLaboklab(30.54% -0.0181 -0.0935)
OKLCHoklch(30.54% 0.095 259.1)
XYZxyz(3.1240, 2.7701, 10.9575)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2D5E #5E3E0D
analogous
#0D555E #0D2D5E #150D5E
triadic
#0D2D5E #5E0D2D #2D5E0D
tetradic
#0D2D5E #5E0D55 #5E3E0D #0D5E15
square
#0D2D5E #5E0D55 #5E3E0D #0D5E15
split-complementary
#0D2D5E #5E150D #555E0D
monochromatic
#040D1B #061328 #0D2D5E #144794 #1C60CA

Accessibility & contrast

On white

13.51
#0D2D5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D2D5E
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2D5E#FFFFFF#000000##FFFFFF
##0D2D5E1.0013.511.5513.51
#FFFFFF13.511.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103260
Deuteranopia (green-blind)
#002B5D
Tritanopia (blue-blind)
#003941
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #0d2d5e;
/* rgb */ color: rgb(13, 45, 94);
/* oklch */ color: oklch(30.5% 0.095 259.1);
Tailwind
colors: {
  custom: {
    50: '#5b658c',
    500: '#0d2d5e',
    950: '#000000',
  },
}
SCSS
$custom: #0d2d5e;
$custom-light: #5b658c;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2d5e",
  "rgb": {
    "r": 13,
    "g": 45,
    "b": 94
  },
  "hsl": {
    "h": 216.296,
    "s": 75.701,
    "l": 20.98
  },
  "oklch": {
    "l": 0.30537,
    "c": 0.09524,
    "h": 259.1
  },
  "luminance": 0.0277
}

Semantic roles & 50–950 ramp

primary
#0D2D5E
secondary
#986E2F
accent
#A836F2
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#04050C
muted
#797A7D

Preview Lab

Preview with #0D2D5E

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

Preview Lab → · Contrast checker → · Palette generator →

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