#0D2354#0D2354

#0D2354 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.2% C 0.094 H 263.3°. Best body text is #FFFFFF at 15.16:1 contrast (WCAG AA passes).

Color values

HEX#0D2354
RGBrgb(13, 35, 84)
HSLhsl(221, 73%, 19%)
HSVhsv(221, 85%, 33%)
CMYKcmyk(84.5%, 58.3%, 0%, 67.1%)
CIE-LABlab(15.10, 11.95, -32.30)
CIE-LCHlch(15.10, 34.44, 290.30°)
OKLaboklab(27.23% -0.0109 -0.0931)
OKLCHoklch(27.23% 0.094 263.3)
XYZxyz(2.3667, 1.9274, 8.6331)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2354 #543E0D
analogous
#0D4754 #0D2354 #1A0D54
triadic
#0D2354 #540D23 #23540D
tetradic
#0D2354 #540D47 #543E0D #0D541A
square
#0D2354 #540D47 #543E0D #0D541A
split-complementary
#0D2354 #541A0D #47540D
monochromatic
#040B1A #050D1F #0D2354 #153989 #1D4FBE

Accessibility & contrast

On white

15.16
#0D2354 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#0D2354 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D2354
15.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2354#FFFFFF#000000##FFFFFF
##0D23541.0015.161.3915.16
#FFFFFF15.161.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002956
Deuteranopia (green-blind)
#002353
Tritanopia (blue-blind)
#002F37
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #0d2354;
/* rgb */ color: rgb(13, 35, 84);
/* oklch */ color: oklch(27.2% 0.094 263.3);
Tailwind
colors: {
  custom: {
    50: '#595d85',
    500: '#0d2354',
    950: '#000000',
  },
}
SCSS
$custom: #0d2354;
$custom-light: #595d85;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2354",
  "rgb": {
    "r": 13,
    "g": 35,
    "b": 84
  },
  "hsl": {
    "h": 221.408,
    "s": 73.196,
    "l": 19.02
  },
  "oklch": {
    "l": 0.27232,
    "c": 0.09373,
    "h": 263.3
  },
  "luminance": 0.01928
}

Semantic roles & 50–950 ramp

primary
#0D2354
secondary
#8F712E
accent
#B738F0
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #0D2354

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

Preview Lab → · Contrast checker → · Palette generator →

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