#0D2D5B#0D2D5B

#0D2D5B is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.3% C 0.091 H 258.1°. Best body text is #FFFFFF at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#0D2D5B
RGBrgb(13, 45, 91)
HSLhsl(215, 75%, 20%)
HSVhsv(215, 86%, 36%)
CMYKcmyk(85.7%, 50.5%, 0%, 64.3%)
CIE-LABlab(18.87, 7.55, -30.89)
CIE-LCHlch(18.87, 31.80, 283.74°)
OKLaboklab(30.29% -0.0186 -0.0887)
OKLCHoklch(30.29% 0.091 258.1)
XYZxyz(2.9920, 2.7173, 10.2623)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2D5B #5B3B0D
analogous
#0D545B #0D2D5B #140D5B
triadic
#0D2D5B #5B0D2D #2D5B0D
tetradic
#0D2D5B #5B0D54 #5B3B0D #0D5B14
square
#0D2D5B #5B0D54 #5B3B0D #0D5B14
split-complementary
#0D2D5B #5B140D #545B0D
monochromatic
#040D1B #051325 #0D2D5B #154791 #1C62C6

Accessibility & contrast

On white

13.60
#0D2D5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#0D2D5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D2D5B
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2D5B#FFFFFF#000000##FFFFFF
##0D2D5B1.0013.601.5413.60
#FFFFFF13.601.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14325D
Deuteranopia (green-blind)
#012B5A
Tritanopia (blue-blind)
#00383F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #0d2d5b;
/* rgb */ color: rgb(13, 45, 91);
/* oklch */ color: oklch(30.3% 0.091 258.1);
Tailwind
colors: {
  custom: {
    50: '#5a658a',
    500: '#0d2d5b',
    950: '#000000',
  },
}
SCSS
$custom: #0d2d5b;
$custom-light: #5a658a;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2d5b",
  "rgb": {
    "r": 13,
    "g": 45,
    "b": 91
  },
  "hsl": {
    "h": 215.385,
    "s": 75,
    "l": 20.392
  },
  "oklch": {
    "l": 0.30292,
    "c": 0.09066,
    "h": 258.1
  },
  "luminance": 0.02718
}

Semantic roles & 50–950 ramp

primary
#0D2D5B
secondary
#956B2F
accent
#A536F2
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#04050B
muted
#797A7C

Preview Lab

Preview with #0D2D5B

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

Preview Lab → · Contrast checker → · Palette generator →

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