#0D2854#0D2854

#0D2854 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.5% C 0.087 H 259.8°. Best body text is #FFFFFF at 14.50:1 contrast (WCAG AA passes).

Color values

HEX#0D2854
RGBrgb(13, 40, 84)
HSLhsl(217, 73%, 19%)
HSVhsv(217, 85%, 33%)
CMYKcmyk(84.5%, 52.4%, 0%, 67.1%)
CIE-LABlab(16.71, 8.17, -29.69)
CIE-LCHlch(16.71, 30.80, 285.39°)
OKLaboklab(28.46% -0.0154 -0.0853)
OKLCHoklch(28.46% 0.087 259.8)
XYZxyz(2.5244, 2.2429, 8.6857)
Luminance0.0224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2854 #54390D
analogous
#0D4C54 #0D2854 #160D54
triadic
#0D2854 #540D28 #28540D
tetradic
#0D2854 #540D4C #54390D #0D5416
square
#0D2854 #540D4C #54390D #0D5416
split-complementary
#0D2854 #54160D #4C540D
monochromatic
#040D1A #050F1F #0D2854 #154189 #1D5ABE

Accessibility & contrast

On white

14.50
#0D2854 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#0D2854 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D2854
14.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2854#FFFFFF#000000##FFFFFF
##0D28541.0014.501.4514.50
#FFFFFF14.501.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F2D56
Deuteranopia (green-blind)
#002653
Tritanopia (blue-blind)
#00333A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #0d2854;
/* rgb */ color: rgb(13, 40, 84);
/* oklch */ color: oklch(28.5% 0.087 259.8);
Tailwind
colors: {
  custom: {
    50: '#586184',
    500: '#0d2854',
    950: '#000000',
  },
}
SCSS
$custom: #0d2854;
$custom-light: #586184;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2854",
  "rgb": {
    "r": 13,
    "g": 40,
    "b": 84
  },
  "hsl": {
    "h": 217.183,
    "s": 73.196,
    "l": 19.02
  },
  "oklch": {
    "l": 0.28462,
    "c": 0.08669,
    "h": 259.8
  },
  "luminance": 0.02243
}

Semantic roles & 50–950 ramp

primary
#0D2854
secondary
#8F6A2E
accent
#AA38F0
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #0D2854

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

Preview Lab → · Contrast checker → · Palette generator →

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