#0D2D5F#0D2D5F

#0D2D5F is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.6% C 0.097 H 259.3°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#0D2D5F
RGBrgb(13, 45, 95)
HSLhsl(217, 76%, 21%)
HSVhsv(217, 86%, 37%)
CMYKcmyk(86.3%, 52.6%, 0%, 62.7%)
CIE-LABlab(19.17, 9.32, -33.05)
CIE-LCHlch(19.17, 34.34, 285.74°)
OKLaboklab(30.62% -0.0179 -0.0951)
OKLCHoklch(30.62% 0.097 259.3)
XYZxyz(3.1692, 2.7882, 11.1954)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2D5F #5F3F0D
analogous
#0D565F #0D2D5F #160D5F
triadic
#0D2D5F #5F0D2D #2D5F0D
tetradic
#0D2D5F #5F0D56 #5F3F0D #0D5F16
square
#0D2D5F #5F0D56 #5F3F0D #0D5F16
split-complementary
#0D2D5F #5F160D #565F0D
monochromatic
#040D1B #061329 #0D2D5F #144695 #1C60CB

Accessibility & contrast

On white

13.48
#0D2D5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#0D2D5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D2D5F
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2D5F#FFFFFF#000000##FFFFFF
##0D2D5F1.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3261
Deuteranopia (green-blind)
#002B5E
Tritanopia (blue-blind)
#003941
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #0d2d5f;
/* rgb */ color: rgb(13, 45, 95);
/* oklch */ color: oklch(30.6% 0.097 259.3);
Tailwind
colors: {
  custom: {
    50: '#5b658d',
    500: '#0d2d5f',
    950: '#000000',
  },
}
SCSS
$custom: #0d2d5f;
$custom-light: #5b658d;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2d5f",
  "rgb": {
    "r": 13,
    "g": 45,
    "b": 95
  },
  "hsl": {
    "h": 216.585,
    "s": 75.926,
    "l": 21.176
  },
  "oklch": {
    "l": 0.3062,
    "c": 0.09676,
    "h": 259.3
  },
  "luminance": 0.02789
}

Semantic roles & 50–950 ramp

primary
#0D2D5F
secondary
#99702F
accent
#A935F3
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05050C
muted
#797A7D

Preview Lab

Preview with #0D2D5F

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

Preview Lab → · Contrast checker → · Palette generator →

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