#0D2856#0D2856

#0D2856 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.6% C 0.090 H 260.4°. Best body text is #FFFFFF at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#0D2856
RGBrgb(13, 40, 86)
HSLhsl(218, 74%, 19%)
HSVhsv(218, 85%, 34%)
CMYKcmyk(84.9%, 53.5%, 0%, 66.3%)
CIE-LABlab(16.87, 9.06, -30.79)
CIE-LCHlch(16.87, 32.09, 286.40°)
OKLaboklab(28.63% -0.015 -0.0885)
OKLCHoklch(28.63% 0.09 260.4)
XYZxyz(2.6039, 2.2747, 9.1041)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2856 #563B0D
analogous
#0D4D56 #0D2856 #170D56
triadic
#0D2856 #560D28 #28560D
tetradic
#0D2856 #560D4D #563B0D #0D5617
square
#0D2856 #560D4D #563B0D #0D5617
split-complementary
#0D2856 #56170D #4D560D
monochromatic
#040C1B #050F21 #0D2856 #15418B #1D59C0

Accessibility & contrast

On white

14.43
#0D2856 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#0D2856 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D2856
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2856#FFFFFF#000000##FFFFFF
##0D28561.0014.431.4614.43
#FFFFFF14.431.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D2D58
Deuteranopia (green-blind)
#002655
Tritanopia (blue-blind)
#00333A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0d2856;
/* rgb */ color: rgb(13, 40, 86);
/* oklch */ color: oklch(28.6% 0.090 260.4);
Tailwind
colors: {
  custom: {
    50: '#596186',
    500: '#0d2856',
    950: '#000000',
  },
}
SCSS
$custom: #0d2856;
$custom-light: #596186;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2856",
  "rgb": {
    "r": 13,
    "g": 40,
    "b": 86
  },
  "hsl": {
    "h": 217.808,
    "s": 73.737,
    "l": 19.412
  },
  "oklch": {
    "l": 0.28629,
    "c": 0.0898,
    "h": 260.4
  },
  "luminance": 0.02275
}

Semantic roles & 50–950 ramp

primary
#0D2856
secondary
#916C2E
accent
#AC37F0
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #0D2856

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

Preview Lab → · Contrast checker → · Palette generator →

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