#0D2A57#0D2A57

#0D2A57 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.2% C 0.089 H 259.2°. Best body text is #FFFFFF at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#0D2A57
RGBrgb(13, 42, 87)
HSLhsl(216, 74%, 20%)
HSVhsv(216, 85%, 34%)
CMYKcmyk(85.1%, 51.7%, 0%, 65.9%)
CIE-LABlab(17.60, 8.01, -30.28)
CIE-LCHlch(17.60, 31.32, 284.81°)
OKLaboklab(29.21% -0.0167 -0.087)
OKLCHoklch(29.21% 0.089 259.2)
XYZxyz(2.7136, 2.4293, 9.3409)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2A57 #573A0D
analogous
#0D4F57 #0D2A57 #150D57
triadic
#0D2A57 #570D2A #2A570D
tetradic
#0D2A57 #570D4F #573A0D #0D5715
square
#0D2A57 #570D4F #573A0D #0D5715
split-complementary
#0D2A57 #57150D #4F570D
monochromatic
#040D1B #051022 #0D2A57 #15448C #1D5DC1

Accessibility & contrast

On white

14.13
#0D2A57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#0D2A57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D2A57
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2A57#FFFFFF#000000##FFFFFF
##0D2A571.0014.131.4914.13
#FFFFFF14.131.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112F59
Deuteranopia (green-blind)
#002856
Tritanopia (blue-blind)
#00353C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #0d2a57;
/* rgb */ color: rgb(13, 42, 87);
/* oklch */ color: oklch(29.2% 0.089 259.2);
Tailwind
colors: {
  custom: {
    50: '#596387',
    500: '#0d2a57',
    950: '#000000',
  },
}
SCSS
$custom: #0d2a57;
$custom-light: #596387;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2a57",
  "rgb": {
    "r": 13,
    "g": 42,
    "b": 87
  },
  "hsl": {
    "h": 216.486,
    "s": 74,
    "l": 19.608
  },
  "oklch": {
    "l": 0.29213,
    "c": 0.08859,
    "h": 259.2
  },
  "luminance": 0.0243
}

Semantic roles & 50–950 ramp

primary
#0D2A57
secondary
#926B2E
accent
#A837F1
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #0D2A57

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

Preview Lab → · Contrast checker → · Palette generator →

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