#0D2955#0D2955

#0D2955 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.8% C 0.087 H 259.3°. Best body text is #FFFFFF at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#0D2955
RGBrgb(13, 41, 85)
HSLhsl(217, 73%, 19%)
HSVhsv(217, 85%, 33%)
CMYKcmyk(84.7%, 51.8%, 0%, 66.7%)
CIE-LABlab(17.12, 7.87, -29.71)
CIE-LCHlch(17.12, 30.74, 284.83°)
OKLaboklab(28.8% -0.0161 -0.0854)
OKLCHoklch(28.8% 0.087 259.3)
XYZxyz(2.5980, 2.3270, 8.9048)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2955 #55390D
analogous
#0D4D55 #0D2955 #150D55
triadic
#0D2955 #550D29 #29550D
tetradic
#0D2955 #550D4D #55390D #0D5515
square
#0D2955 #550D4D #55390D #0D5515
split-complementary
#0D2955 #55150D #4D550D
monochromatic
#040D1B #050F20 #0D2955 #15438A #1D5CBF

Accessibility & contrast

On white

14.33
#0D2955 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#0D2955 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D2955
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2955#FFFFFF#000000##FFFFFF
##0D29551.0014.331.4714.33
#FFFFFF14.331.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102E57
Deuteranopia (green-blind)
#002754
Tritanopia (blue-blind)
#00343A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0d2955;
/* rgb */ color: rgb(13, 41, 85);
/* oklch */ color: oklch(28.8% 0.087 259.3);
Tailwind
colors: {
  custom: {
    50: '#596285',
    500: '#0d2955',
    950: '#000000',
  },
}
SCSS
$custom: #0d2955;
$custom-light: #596285;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2955",
  "rgb": {
    "r": 13,
    "g": 41,
    "b": 85
  },
  "hsl": {
    "h": 216.667,
    "s": 73.469,
    "l": 19.216
  },
  "oklch": {
    "l": 0.28797,
    "c": 0.08687,
    "h": 259.3
  },
  "luminance": 0.02327
}

Semantic roles & 50–950 ramp

primary
#0D2955
secondary
#906A2E
accent
#A838F0
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #0D2955

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

Preview Lab → · Contrast checker → · Palette generator →

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