#0D2850#0D2850

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

Color values

HEX#0D2850
RGBrgb(13, 40, 80)
HSLhsl(216, 72%, 18%)
HSVhsv(216, 84%, 31%)
CMYKcmyk(83.7%, 50%, 0%, 68.6%)
CIE-LABlab(16.42, 6.40, -27.47)
CIE-LCHlch(16.42, 28.21, 283.11°)
OKLaboklab(28.14% -0.0161 -0.0788)
OKLCHoklch(28.14% 0.08 258.4)
XYZxyz(2.3722, 2.1821, 7.8840)
Luminance0.0218 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2850 #50350D
analogous
#0D4950 #0D2850 #130D50
triadic
#0D2850 #500D28 #28500D
tetradic
#0D2850 #500D49 #50350D #0D5013
square
#0D2850 #500D49 #50350D #0D5013
split-complementary
#0D2850 #50130D #49500D
monochromatic
#040D1A #040E1B #0D2850 #164285 #1E5DB9

Accessibility & contrast

On white

14.62
#0D2850 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#0D2850 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D2850
14.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2850#FFFFFF#000000##FFFFFF
##0D28501.0014.621.4414.62
#FFFFFF14.621.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132C52
Deuteranopia (green-blind)
#05264F
Tritanopia (blue-blind)
#003138
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #0d2850;
/* rgb */ color: rgb(13, 40, 80);
/* oklch */ color: oklch(28.1% 0.080 258.4);
Tailwind
colors: {
  custom: {
    50: '#576181',
    500: '#0d2850',
    950: '#000000',
  },
}
SCSS
$custom: #0d2850;
$custom-light: #576181;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2850",
  "rgb": {
    "r": 13,
    "g": 40,
    "b": 80
  },
  "hsl": {
    "h": 215.821,
    "s": 72.043,
    "l": 18.235
  },
  "oklch": {
    "l": 0.28136,
    "c": 0.08043,
    "h": 258.4
  },
  "luminance": 0.02182
}

Semantic roles & 50–950 ramp

primary
#0D2850
secondary
#8B652E
accent
#A639EF
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04050A
muted
#79797C

Preview Lab

Preview with #0D2850

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

Preview Lab → · Contrast checker → · Palette generator →

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