#0D2853#0D2853

#0D2853 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.4% C 0.085 H 259.5°. Best body text is #FFFFFF at 14.53:1 contrast (WCAG AA passes).

Color values

HEX#0D2853
RGBrgb(13, 40, 83)
HSLhsl(217, 73%, 19%)
HSVhsv(217, 84%, 33%)
CMYKcmyk(84.3%, 51.8%, 0%, 67.5%)
CIE-LABlab(16.64, 7.73, -29.14)
CIE-LCHlch(16.64, 30.15, 284.85°)
OKLaboklab(28.38% -0.0155 -0.0837)
OKLCHoklch(28.38% 0.085 259.5)
XYZxyz(2.4855, 2.2274, 8.4809)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2853 #53380D
analogous
#0D4B53 #0D2853 #150D53
triadic
#0D2853 #530D28 #28530D
tetradic
#0D2853 #530D4B #53380D #0D5315
square
#0D2853 #530D4B #53380D #0D5315
split-complementary
#0D2853 #53150D #4B530D
monochromatic
#040D1A #050F1E #0D2853 #154288 #1E5BBD

Accessibility & contrast

On white

14.53
#0D2853 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D2853
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2853#FFFFFF#000000##FFFFFF
##0D28531.0014.531.4514.53
#FFFFFF14.531.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102D55
Deuteranopia (green-blind)
#002652
Tritanopia (blue-blind)
#003239
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #0d2853;
/* rgb */ color: rgb(13, 40, 83);
/* oklch */ color: oklch(28.4% 0.085 259.5);
Tailwind
colors: {
  custom: {
    50: '#586184',
    500: '#0d2853',
    950: '#000000',
  },
}
SCSS
$custom: #0d2853;
$custom-light: #586184;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2853",
  "rgb": {
    "r": 13,
    "g": 40,
    "b": 83
  },
  "hsl": {
    "h": 216.857,
    "s": 72.917,
    "l": 18.824
  },
  "oklch": {
    "l": 0.2838,
    "c": 0.08512,
    "h": 259.5
  },
  "luminance": 0.02228
}

Semantic roles & 50–950 ramp

primary
#0D2853
secondary
#8E692E
accent
#A938F0
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #0D2853

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

Preview Lab → · Contrast checker → · Palette generator →

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