#0D2857#0D2857

#0D2857 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.7% C 0.091 H 260.6°. Best body text is #FFFFFF at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#0D2857
RGBrgb(13, 40, 87)
HSLhsl(218, 74%, 20%)
HSVhsv(218, 85%, 34%)
CMYKcmyk(85.1%, 54%, 0%, 65.9%)
CIE-LABlab(16.95, 9.50, -31.33)
CIE-LCHlch(16.95, 32.74, 286.87°)
OKLaboklab(28.71% -0.0149 -0.0901)
OKLCHoklch(28.71% 0.091 260.6)
XYZxyz(2.6444, 2.2910, 9.3178)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2857 #573C0D
analogous
#0D4D57 #0D2857 #170D57
triadic
#0D2857 #570D28 #28570D
tetradic
#0D2857 #570D4D #573C0D #0D5717
square
#0D2857 #570D4D #573C0D #0D5717
split-complementary
#0D2857 #57170D #4D570D
monochromatic
#040C1B #051022 #0D2857 #15408C #1D59C1

Accessibility & contrast

On white

14.40
#0D2857 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D2857
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2857#FFFFFF#000000##FFFFFF
##0D28571.0014.401.4614.40
#FFFFFF14.401.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B2D59
Deuteranopia (green-blind)
#002756
Tritanopia (blue-blind)
#00333B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0d2857;
/* rgb */ color: rgb(13, 40, 87);
/* oklch */ color: oklch(28.7% 0.091 260.6);
Tailwind
colors: {
  custom: {
    50: '#596187',
    500: '#0d2857',
    950: '#000000',
  },
}
SCSS
$custom: #0d2857;
$custom-light: #596187;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2857",
  "rgb": {
    "r": 13,
    "g": 40,
    "b": 87
  },
  "hsl": {
    "h": 218.108,
    "s": 74,
    "l": 19.608
  },
  "oklch": {
    "l": 0.28714,
    "c": 0.09136,
    "h": 260.6
  },
  "luminance": 0.02291
}

Semantic roles & 50–950 ramp

primary
#0D2857
secondary
#926D2E
accent
#AD37F1
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #0D2857

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

Preview Lab → · Contrast checker → · Palette generator →

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