#0D285C#0D285C

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

Color values

HEX#0D285C
RGBrgb(13, 40, 92)
HSLhsl(219, 75%, 21%)
HSVhsv(219, 86%, 36%)
CMYKcmyk(85.9%, 56.5%, 0%, 63.9%)
CIE-LABlab(17.35, 11.71, -34.02)
CIE-LCHlch(17.35, 35.98, 288.99°)
OKLaboklab(29.15% -0.0142 -0.0981)
OKLCHoklch(29.15% 0.099 261.8)
XYZxyz(2.8558, 2.3755, 10.4311)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D285C #5C410D
analogous
#0D4F5C #0D285C #1A0D5C
triadic
#0D285C #5C0D28 #285C0D
tetradic
#0D285C #5C0D4F #5C410D #0D5C1A
square
#0D285C #5C0D4F #5C410D #0D5C1A
split-complementary
#0D285C #5C1A0D #4F5C0D
monochromatic
#040C1B #051126 #0D285C #153F92 #1C57C7

Accessibility & contrast

On white

14.24
#0D285C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D285C
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D285C#FFFFFF#000000##FFFFFF
##0D285C1.0014.241.4814.24
#FFFFFF14.241.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032E5E
Deuteranopia (green-blind)
#00275B
Tritanopia (blue-blind)
#00353D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #0d285c;
/* rgb */ color: rgb(13, 40, 92);
/* oklch */ color: oklch(29.1% 0.099 261.8);
Tailwind
colors: {
  custom: {
    50: '#5b618b',
    500: '#0d285c',
    950: '#000000',
  },
}
SCSS
$custom: #0d285c;
$custom-light: #5b618b;
$custom-dark: #000000;
JSON
{
  "hex": "#0d285c",
  "rgb": {
    "r": 13,
    "g": 40,
    "b": 92
  },
  "hsl": {
    "h": 219.494,
    "s": 75.238,
    "l": 20.588
  },
  "oklch": {
    "l": 0.29147,
    "c": 0.09908,
    "h": 261.8
  },
  "luminance": 0.02376
}

Semantic roles & 50–950 ramp

primary
#0D285C
secondary
#96732F
accent
#B236F2
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#04050C
muted
#79797D

Preview Lab

Preview with #0D285C

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

Preview Lab → · Contrast checker → · Palette generator →

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