#0D2A56#0D2A56

#0D2A56 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.1% C 0.087 H 258.8°. Best body text is #FFFFFF at 14.16:1 contrast (WCAG AA passes).

Color values

HEX#0D2A56
RGBrgb(13, 42, 86)
HSLhsl(216, 74%, 19%)
HSVhsv(216, 85%, 34%)
CMYKcmyk(84.9%, 51.2%, 0%, 66.3%)
CIE-LABlab(17.52, 7.56, -29.73)
CIE-LCHlch(17.52, 30.68, 284.27°)
OKLaboklab(29.13% -0.0168 -0.0854)
OKLCHoklch(29.13% 0.087 258.8)
XYZxyz(2.6730, 2.4131, 9.1272)
Luminance0.0241 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2A56 #56390D
analogous
#0D4F56 #0D2A56 #140D56
triadic
#0D2A56 #560D2A #2A560D
tetradic
#0D2A56 #560D4F #56390D #0D5614
square
#0D2A56 #560D4F #56390D #0D5614
split-complementary
#0D2A56 #56140D #4F560D
monochromatic
#040D1B #051021 #0D2A56 #15448B #1D5EC0

Accessibility & contrast

On white

14.16
#0D2A56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#0D2A56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D2A56
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2A56#FFFFFF#000000##FFFFFF
##0D2A561.0014.161.4814.16
#FFFFFF14.161.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122F58
Deuteranopia (green-blind)
#012855
Tritanopia (blue-blind)
#00353B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #0d2a56;
/* rgb */ color: rgb(13, 42, 86);
/* oklch */ color: oklch(29.1% 0.087 258.8);
Tailwind
colors: {
  custom: {
    50: '#596386',
    500: '#0d2a56',
    950: '#000000',
  },
}
SCSS
$custom: #0d2a56;
$custom-light: #596386;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2a56",
  "rgb": {
    "r": 13,
    "g": 42,
    "b": 86
  },
  "hsl": {
    "h": 216.164,
    "s": 73.737,
    "l": 19.412
  },
  "oklch": {
    "l": 0.29131,
    "c": 0.08704,
    "h": 258.8
  },
  "luminance": 0.02413
}

Semantic roles & 50–950 ramp

primary
#0D2A56
secondary
#916A2E
accent
#A737F0
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #0D2A56

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

Preview Lab → · Contrast checker → · Palette generator →

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