#0D284E#0D284E

#0D284E is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.0% C 0.077 H 257.6°. Best body text is #FFFFFF at 14.68:1 contrast (WCAG AA passes).

Color values

HEX#0D284E
RGBrgb(13, 40, 78)
HSLhsl(215, 71%, 18%)
HSVhsv(215, 83%, 31%)
CMYKcmyk(83.3%, 48.7%, 0%, 69.4%)
CIE-LABlab(16.27, 5.51, -26.35)
CIE-LCHlch(16.27, 26.92, 281.82°)
OKLaboklab(27.98% -0.0166 -0.0755)
OKLCHoklch(27.98% 0.077 257.6)
XYZxyz(2.2994, 2.1529, 7.5006)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D284E #4E330D
analogous
#0D484E #0D284E #120D4E
triadic
#0D284E #4E0D28 #284E0D
tetradic
#0D284E #4E0D48 #4E330D #0D4E12
square
#0D284E #4E0D48 #4E330D #0D4E12
split-complementary
#0D284E #4E120D #484E0D
monochromatic
#040D1A #040D1A #0D284E #164382 #1E5EB7

Accessibility & contrast

On white

14.68
#0D284E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#0D284E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D284E
14.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D284E#FFFFFF#000000##FFFFFF
##0D284E1.0014.681.4314.68
#FFFFFF14.681.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152C4F
Deuteranopia (green-blind)
#08264D
Tritanopia (blue-blind)
#003137
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0d284e;
/* rgb */ color: rgb(13, 40, 78);
/* oklch */ color: oklch(28.0% 0.077 257.6);
Tailwind
colors: {
  custom: {
    50: '#576180',
    500: '#0d284e',
    950: '#000000',
  },
}
SCSS
$custom: #0d284e;
$custom-light: #576180;
$custom-dark: #000000;
JSON
{
  "hex": "#0d284e",
  "rgb": {
    "r": 13,
    "g": 40,
    "b": 78
  },
  "hsl": {
    "h": 215.077,
    "s": 71.429,
    "l": 17.843
  },
  "oklch": {
    "l": 0.27978,
    "c": 0.07728,
    "h": 257.6
  },
  "luminance": 0.02153
}

Semantic roles & 50–950 ramp

primary
#0D284E
secondary
#89632E
accent
#A33AEE
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#03050A
muted
#78797C

Preview Lab

Preview with #0D284E

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

Preview Lab → · Contrast checker → · Palette generator →

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