#0D2859#0D2859

#0D2859 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.9% C 0.094 H 261.1°. Best body text is #FFFFFF at 14.34:1 contrast (WCAG AA passes).

Color values

HEX#0D2859
RGBrgb(13, 40, 89)
HSLhsl(219, 75%, 20%)
HSVhsv(219, 85%, 35%)
CMYKcmyk(85.4%, 55.1%, 0%, 65.1%)
CIE-LABlab(17.10, 10.39, -32.41)
CIE-LCHlch(17.10, 34.04, 287.77°)
OKLaboklab(28.89% -0.0146 -0.0933)
OKLCHoklch(28.89% 0.094 261.1)
XYZxyz(2.7273, 2.3241, 9.7541)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2859 #593E0D
analogous
#0D4E59 #0D2859 #180D59
triadic
#0D2859 #590D28 #28590D
tetradic
#0D2859 #590D4E #593E0D #0D5918
square
#0D2859 #590D4E #593E0D #0D5918
split-complementary
#0D2859 #59180D #4E590D
monochromatic
#040C1B #051024 #0D2859 #15408E #1D58C4

Accessibility & contrast

On white

14.34
#0D2859 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#0D2859 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D2859
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2859#FFFFFF#000000##FFFFFF
##0D28591.0014.341.4614.34
#FFFFFF14.341.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082E5B
Deuteranopia (green-blind)
#002758
Tritanopia (blue-blind)
#00343C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0d2859;
/* rgb */ color: rgb(13, 40, 89);
/* oklch */ color: oklch(28.9% 0.094 261.1);
Tailwind
colors: {
  custom: {
    50: '#5a6188',
    500: '#0d2859',
    950: '#000000',
  },
}
SCSS
$custom: #0d2859;
$custom-light: #5a6188;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2859",
  "rgb": {
    "r": 13,
    "g": 40,
    "b": 89
  },
  "hsl": {
    "h": 218.684,
    "s": 74.51,
    "l": 20
  },
  "oklch": {
    "l": 0.28885,
    "c": 0.09446,
    "h": 261.1
  },
  "luminance": 0.02324
}

Semantic roles & 50–950 ramp

primary
#0D2859
secondary
#93702E
accent
#AF37F1
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#04050B
muted
#79797C

Preview Lab

Preview with #0D2859

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

Preview Lab → · Contrast checker → · Palette generator →

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