#0D284F#0D284F

#0D284F is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.1% C 0.079 H 258.0°. Best body text is #FFFFFF at 14.65:1 contrast (WCAG AA passes).

Color values

HEX#0D284F
RGBrgb(13, 40, 79)
HSLhsl(215, 72%, 18%)
HSVhsv(215, 84%, 31%)
CMYKcmyk(83.5%, 49.4%, 0%, 69%)
CIE-LABlab(16.34, 5.96, -26.91)
CIE-LCHlch(16.34, 27.56, 282.48°)
OKLaboklab(28.06% -0.0163 -0.0771)
OKLCHoklch(28.06% 0.079 258)
XYZxyz(2.3355, 2.1674, 7.6909)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D284F #4F340D
analogous
#0D494F #0D284F #130D4F
triadic
#0D284F #4F0D28 #284F0D
tetradic
#0D284F #4F0D49 #4F340D #0D4F13
square
#0D284F #4F0D49 #4F340D #0D4F13
split-complementary
#0D284F #4F130D #494F0D
monochromatic
#040D1A #040D1A #0D284F #164384 #1E5DB8

Accessibility & contrast

On white

14.65
#0D284F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D284F
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D284F#FFFFFF#000000##FFFFFF
##0D284F1.0014.651.4314.65
#FFFFFF14.651.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142C50
Deuteranopia (green-blind)
#06264E
Tritanopia (blue-blind)
#003137
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0d284f;
/* rgb */ color: rgb(13, 40, 79);
/* oklch */ color: oklch(28.1% 0.079 258.0);
Tailwind
colors: {
  custom: {
    50: '#576180',
    500: '#0d284f',
    950: '#000000',
  },
}
SCSS
$custom: #0d284f;
$custom-light: #576180;
$custom-dark: #000000;
JSON
{
  "hex": "#0d284f",
  "rgb": {
    "r": 13,
    "g": 40,
    "b": 79
  },
  "hsl": {
    "h": 215.455,
    "s": 71.739,
    "l": 18.039
  },
  "oklch": {
    "l": 0.28057,
    "c": 0.07885,
    "h": 258
  },
  "luminance": 0.02168
}

Semantic roles & 50–950 ramp

primary
#0D284F
secondary
#8A642E
accent
#A439EE
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04050A
muted
#79797C

Preview Lab

Preview with #0D284F

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

Preview Lab → · Contrast checker → · Palette generator →

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