#0D285E#0D285E

#0D285E is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.3% C 0.102 H 262.2°. Best body text is #FFFFFF at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#0D285E
RGBrgb(13, 40, 94)
HSLhsl(220, 76%, 21%)
HSVhsv(220, 86%, 37%)
CMYKcmyk(86.2%, 57.4%, 0%, 63.1%)
CIE-LABlab(17.51, 12.59, -35.08)
CIE-LCHlch(17.51, 37.27, 289.74°)
OKLaboklab(29.32% -0.0139 -0.1012)
OKLCHoklch(29.32% 0.102 262.2)
XYZxyz(2.9444, 2.4109, 10.8977)
Luminance0.0241 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D285E #5E430D
analogous
#0D505E #0D285E #1A0D5E
triadic
#0D285E #5E0D28 #285E0D
tetradic
#0D285E #5E0D50 #5E430D #0D5E1A
square
#0D285E #5E0D50 #5E430D #0D5E1A
split-complementary
#0D285E #5E1A0D #505E0D
monochromatic
#040B1B #061128 #0D285E #143F94 #1C56CA

Accessibility & contrast

On white

14.17
#0D285E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D285E
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D285E#FFFFFF#000000##FFFFFF
##0D285E1.0014.171.4814.17
#FFFFFF14.171.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F60
Deuteranopia (green-blind)
#00275D
Tritanopia (blue-blind)
#00353E
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #0d285e;
/* rgb */ color: rgb(13, 40, 94);
/* oklch */ color: oklch(29.3% 0.102 262.2);
Tailwind
colors: {
  custom: {
    50: '#5b618c',
    500: '#0d285e',
    950: '#000000',
  },
}
SCSS
$custom: #0d285e;
$custom-light: #5b618c;
$custom-dark: #000000;
JSON
{
  "hex": "#0d285e",
  "rgb": {
    "r": 13,
    "g": 40,
    "b": 94
  },
  "hsl": {
    "h": 220,
    "s": 75.701,
    "l": 20.98
  },
  "oklch": {
    "l": 0.29324,
    "c": 0.10212,
    "h": 262.2
  },
  "luminance": 0.02411
}

Semantic roles & 50–950 ramp

primary
#0D285E
secondary
#98752F
accent
#B336F2
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #0D285E

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

Preview Lab → · Contrast checker → · Palette generator →

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