#0D2959#0D2959

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

Color values

HEX#0D2959
RGBrgb(13, 41, 89)
HSLhsl(218, 75%, 20%)
HSVhsv(218, 85%, 35%)
CMYKcmyk(85.4%, 53.9%, 0%, 65.1%)
CIE-LABlab(17.42, 9.64, -31.90)
CIE-LCHlch(17.42, 33.32, 286.81°)
OKLaboklab(29.13% -0.0154 -0.0918)
OKLCHoklch(29.13% 0.093 260.5)
XYZxyz(2.7614, 2.3924, 9.7655)
Luminance0.0239 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2959 #593D0D
analogous
#0D4F59 #0D2959 #170D59
triadic
#0D2959 #590D29 #29590D
tetradic
#0D2959 #590D4F #593D0D #0D5917
square
#0D2959 #590D4F #593D0D #0D5917
split-complementary
#0D2959 #59170D #4F590D
monochromatic
#040C1B #051024 #0D2959 #15428E #1D5AC4

Accessibility & contrast

On white

14.20
#0D2959 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D2959
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2959#FFFFFF#000000##FFFFFF
##0D29591.0014.201.4814.20
#FFFFFF14.201.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B2E5B
Deuteranopia (green-blind)
#002858
Tritanopia (blue-blind)
#00353C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #0d2959;
/* rgb */ color: rgb(13, 41, 89);
/* oklch */ color: oklch(29.1% 0.093 260.5);
Tailwind
colors: {
  custom: {
    50: '#5a6288',
    500: '#0d2959',
    950: '#000000',
  },
}
SCSS
$custom: #0d2959;
$custom-light: #5a6288;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2959",
  "rgb": {
    "r": 13,
    "g": 41,
    "b": 89
  },
  "hsl": {
    "h": 217.895,
    "s": 74.51,
    "l": 20
  },
  "oklch": {
    "l": 0.2913,
    "c": 0.09307,
    "h": 260.5
  },
  "luminance": 0.02393
}

Semantic roles & 50–950 ramp

primary
#0D2959
secondary
#936E2E
accent
#AC37F1
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#04050B
muted
#79797C

Preview Lab

Preview with #0D2959

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

Preview Lab → · Contrast checker → · Palette generator →

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