#0D2A54#0D2A54

#0D2A54 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.0% C 0.084 H 258.1°. Best body text is #FFFFFF at 14.22:1 contrast (WCAG AA passes).

Color values

HEX#0D2A54
RGBrgb(13, 42, 84)
HSLhsl(215, 73%, 19%)
HSVhsv(215, 85%, 33%)
CMYKcmyk(84.5%, 50%, 0%, 67.1%)
CIE-LABlab(17.37, 6.68, -28.63)
CIE-LCHlch(17.37, 29.40, 283.14°)
OKLaboklab(28.97% -0.0172 -0.0821)
OKLCHoklch(28.97% 0.084 258.1)
XYZxyz(2.5936, 2.3813, 8.7087)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2A54 #54370D
analogous
#0D4E54 #0D2A54 #140D54
triadic
#0D2A54 #540D2A #2A540D
tetradic
#0D2A54 #540D4E #54370D #0D5414
square
#0D2A54 #540D4E #54370D #0D5414
split-complementary
#0D2A54 #54140D #4E540D
monochromatic
#040D1A #05101F #0D2A54 #154489 #1D5FBE

Accessibility & contrast

On white

14.22
#0D2A54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D2A54
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2A54#FFFFFF#000000##FFFFFF
##0D2A541.0014.221.4814.22
#FFFFFF14.221.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142E56
Deuteranopia (green-blind)
#042853
Tritanopia (blue-blind)
#00343A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #0d2a54;
/* rgb */ color: rgb(13, 42, 84);
/* oklch */ color: oklch(29.0% 0.084 258.1);
Tailwind
colors: {
  custom: {
    50: '#586384',
    500: '#0d2a54',
    950: '#000000',
  },
}
SCSS
$custom: #0d2a54;
$custom-light: #586384;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2a54",
  "rgb": {
    "r": 13,
    "g": 42,
    "b": 84
  },
  "hsl": {
    "h": 215.493,
    "s": 73.196,
    "l": 19.02
  },
  "oklch": {
    "l": 0.28969,
    "c": 0.08394,
    "h": 258.1
  },
  "luminance": 0.02382
}

Semantic roles & 50–950 ramp

primary
#0D2A54
secondary
#8F672E
accent
#A538F0
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #0D2A54

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

Preview Lab → · Contrast checker → · Palette generator →

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