#0D1858#0D1858

#0D1858 is a dark, moderate blue. Relative luminance 0.014; OKLCH L 25.2% C 0.115 H 268.5°. Best body text is #FFFFFF at 16.30:1 contrast (WCAG AA passes).

Color values

HEX#0D1858
RGBrgb(13, 24, 88)
HSLhsl(231, 74%, 20%)
HSVhsv(231, 85%, 35%)
CMYKcmyk(85.2%, 72.7%, 0%, 65.5%)
CIE-LABlab(12.24, 21.91, -39.67)
CIE-LCHlch(12.24, 45.32, 298.91°)
OKLaboklab(25.22% -0.003 -0.1149)
OKLCHoklch(25.22% 0.115 268.5)
XYZxyz(2.2535, 1.4432, 9.3904)
Luminance0.0144 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1858 #584D0D
analogous
#0D3E58 #0D1858 #280D58
triadic
#0D1858 #580D18 #18580D
tetradic
#0D1858 #580D3E #584D0D #0D5828
square
#0D1858 #580D3E #584D0D #0D5828
split-complementary
#0D1858 #58280D #3E580D
monochromatic
#04071B #050923 #0D1858 #15278D #1D35C3

Accessibility & contrast

On white

16.30
#0D1858 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#0D1858 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D1858
16.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1858#FFFFFF#000000##FFFFFF
##0D18581.0016.301.2916.30
#FFFFFF16.301.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00245A
Deuteranopia (green-blind)
#001C57
Tritanopia (blue-blind)
#002935
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #0d1858;
/* rgb */ color: rgb(13, 24, 88);
/* oklch */ color: oklch(25.2% 0.115 268.5);
Tailwind
colors: {
  custom: {
    50: '#5b5488',
    500: '#0d1858',
    950: '#000000',
  },
}
SCSS
$custom: #0d1858;
$custom-light: #5b5488;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1858",
  "rgb": {
    "r": 13,
    "g": 24,
    "b": 88
  },
  "hsl": {
    "h": 231.2,
    "s": 74.257,
    "l": 19.804
  },
  "oklch": {
    "l": 0.25222,
    "c": 0.11491,
    "h": 268.5
  },
  "luminance": 0.01443
}

Semantic roles & 50–950 ramp

primary
#0D1858
secondary
#93842E
accent
#D637F1
background
#F5F4F8
surface
#E9E7F0
border
#C5C3CB
text
#04030B
muted
#79787C

Preview Lab

Preview with #0D1858

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

Preview Lab → · Contrast checker → · Palette generator →

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