#0D285D#0D285D

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

Color values

HEX#0D285D
RGBrgb(13, 40, 93)
HSLhsl(220, 75%, 21%)
HSVhsv(220, 86%, 36%)
CMYKcmyk(86%, 57%, 0%, 63.5%)
CIE-LABlab(17.43, 12.15, -34.55)
CIE-LCHlch(17.43, 36.63, 289.37°)
OKLaboklab(29.24% -0.014 -0.0996)
OKLCHoklch(29.24% 0.101 262)
XYZxyz(2.8998, 2.3931, 10.6629)
Luminance0.0239 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D285D #5D420D
analogous
#0D505D #0D285D #1A0D5D
triadic
#0D285D #5D0D28 #285D0D
tetradic
#0D285D #5D0D50 #5D420D #0D5D1A
square
#0D285D #5D0D50 #5D420D #0D5D1A
split-complementary
#0D285D #5D1A0D #505D0D
monochromatic
#040C1B #051127 #0D285D #153F93 #1C56C8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0D285D#FFFFFF#000000##FFFFFF
##0D285D1.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)
#022F5F
Deuteranopia (green-blind)
#00275C
Tritanopia (blue-blind)
#00353E
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #0d285d;
/* rgb */ color: rgb(13, 40, 93);
/* oklch */ color: oklch(29.2% 0.101 262.0);
Tailwind
colors: {
  custom: {
    50: '#5b618b',
    500: '#0d285d',
    950: '#000000',
  },
}
SCSS
$custom: #0d285d;
$custom-light: #5b618b;
$custom-dark: #000000;
JSON
{
  "hex": "#0d285d",
  "rgb": {
    "r": 13,
    "g": 40,
    "b": 93
  },
  "hsl": {
    "h": 219.75,
    "s": 75.472,
    "l": 20.784
  },
  "oklch": {
    "l": 0.29235,
    "c": 0.1006,
    "h": 262
  },
  "luminance": 0.02393
}

Semantic roles & 50–950 ramp

primary
#0D285D
secondary
#97742F
accent
#B336F2
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#04050C
muted
#79797D

Preview Lab

Preview with #0D285D

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

Preview Lab → · Contrast checker → · Palette generator →

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