#0D2858#0D2858

#0D2858 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.8% C 0.093 H 260.9°. Best body text is #FFFFFF at 14.37:1 contrast (WCAG AA passes).

Color values

HEX#0D2858
RGBrgb(13, 40, 88)
HSLhsl(218, 74%, 20%)
HSVhsv(218, 85%, 35%)
CMYKcmyk(85.2%, 54.5%, 0%, 65.5%)
CIE-LABlab(17.02, 9.94, -31.87)
CIE-LCHlch(17.02, 33.39, 287.33°)
OKLaboklab(28.8% -0.0147 -0.0917)
OKLCHoklch(28.8% 0.093 260.9)
XYZxyz(2.6856, 2.3074, 9.5345)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2858 #583D0D
analogous
#0D4E58 #0D2858 #180D58
triadic
#0D2858 #580D28 #28580D
tetradic
#0D2858 #580D4E #583D0D #0D5818
square
#0D2858 #580D4E #583D0D #0D5818
split-complementary
#0D2858 #58180D #4E580D
monochromatic
#040C1B #051023 #0D2858 #15408D #1D58C3

Accessibility & contrast

On white

14.37
#0D2858 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D2858
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2858#FFFFFF#000000##FFFFFF
##0D28581.0014.371.4614.37
#FFFFFF14.371.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A2E5A
Deuteranopia (green-blind)
#002757
Tritanopia (blue-blind)
#00343B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0d2858;
/* rgb */ color: rgb(13, 40, 88);
/* oklch */ color: oklch(28.8% 0.093 260.9);
Tailwind
colors: {
  custom: {
    50: '#5a6187',
    500: '#0d2858',
    950: '#000000',
  },
}
SCSS
$custom: #0d2858;
$custom-light: #5a6187;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2858",
  "rgb": {
    "r": 13,
    "g": 40,
    "b": 88
  },
  "hsl": {
    "h": 218.4,
    "s": 74.257,
    "l": 19.804
  },
  "oklch": {
    "l": 0.28799,
    "c": 0.09291,
    "h": 260.9
  },
  "luminance": 0.02308
}

Semantic roles & 50–950 ramp

primary
#0D2858
secondary
#936E2E
accent
#AE37F1
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #0D2858

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

Preview Lab → · Contrast checker → · Palette generator →

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