#0D1D58#0D1D58

#0D1D58 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.3% C 0.108 H 266.7°. Best body text is #FFFFFF at 15.74:1 contrast (WCAG AA passes).

Color values

HEX#0D1D58
RGBrgb(13, 29, 88)
HSLhsl(227, 74%, 20%)
HSVhsv(227, 85%, 35%)
CMYKcmyk(85.2%, 67%, 0%, 65.5%)
CIE-LABlab(13.64, 18.23, -37.37)
CIE-LCHlch(13.64, 41.58, 296.00°)
OKLaboklab(26.25% -0.0061 -0.1081)
OKLCHoklch(26.25% 0.108 266.7)
XYZxyz(2.3662, 1.6686, 9.4280)
Luminance0.0167 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1D58 #58480D
analogous
#0D4358 #0D1D58 #230D58
triadic
#0D1D58 #580D1D #1D580D
tetradic
#0D1D58 #580D43 #58480D #0D5823
square
#0D1D58 #580D43 #58480D #0D5823
split-complementary
#0D1D58 #58230D #43580D
monochromatic
#04091B #050B23 #0D1D58 #152F8D #1D40C3

Accessibility & contrast

On white

15.74
#0D1D58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#0D1D58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D1D58
15.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1D58#FFFFFF#000000##FFFFFF
##0D1D581.0015.741.3315.74
#FFFFFF15.741.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265A
Deuteranopia (green-blind)
#001F57
Tritanopia (blue-blind)
#002C37
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #0d1d58;
/* rgb */ color: rgb(13, 29, 88);
/* oklch */ color: oklch(26.3% 0.108 266.7);
Tailwind
colors: {
  custom: {
    50: '#5a5888',
    500: '#0d1d58',
    950: '#000000',
  },
}
SCSS
$custom: #0d1d58;
$custom-light: #5a5888;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1d58",
  "rgb": {
    "r": 13,
    "g": 29,
    "b": 88
  },
  "hsl": {
    "h": 227.2,
    "s": 74.257,
    "l": 19.804
  },
  "oklch": {
    "l": 0.26251,
    "c": 0.10828,
    "h": 266.7
  },
  "luminance": 0.01669
}

Semantic roles & 50–950 ramp

primary
#0D1D58
secondary
#937D2E
accent
#C937F1
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#04030B
muted
#79787C

Preview Lab

Preview with #0D1D58

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

Preview Lab → · Contrast checker → · Palette generator →

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