#0D1E58#0D1E58

#0D1E58 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.5% C 0.107 H 266.3°. Best body text is #FFFFFF at 15.63:1 contrast (WCAG AA passes).

Color values

HEX#0D1E58
RGBrgb(13, 30, 88)
HSLhsl(226, 74%, 20%)
HSVhsv(226, 85%, 35%)
CMYKcmyk(85.2%, 65.9%, 0%, 65.5%)
CIE-LABlab(13.93, 17.48, -36.90)
CIE-LCHlch(13.93, 40.83, 295.35°)
OKLaboklab(26.47% -0.0068 -0.1067)
OKLCHoklch(26.47% 0.107 266.3)
XYZxyz(2.3911, 1.7184, 9.4363)
Luminance0.0172 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1E58 #58470D
analogous
#0D4458 #0D1E58 #220D58
triadic
#0D1E58 #580D1E #1E580D
tetradic
#0D1E58 #580D44 #58470D #0D5822
square
#0D1E58 #580D44 #58470D #0D5822
split-complementary
#0D1E58 #58220D #44580D
monochromatic
#04091B #050C23 #0D1E58 #15308D #1D42C3

Accessibility & contrast

On white

15.63
#0D1E58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#0D1E58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D1E58
15.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1E58#FFFFFF#000000##FFFFFF
##0D1E581.0015.631.3415.63
#FFFFFF15.631.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275A
Deuteranopia (green-blind)
#002057
Tritanopia (blue-blind)
#002D37
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #0d1e58;
/* rgb */ color: rgb(13, 30, 88);
/* oklch */ color: oklch(26.5% 0.107 266.3);
Tailwind
colors: {
  custom: {
    50: '#5a5988',
    500: '#0d1e58',
    950: '#000000',
  },
}
SCSS
$custom: #0d1e58;
$custom-light: #5a5988;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1e58",
  "rgb": {
    "r": 13,
    "g": 30,
    "b": 88
  },
  "hsl": {
    "h": 226.4,
    "s": 74.257,
    "l": 19.804
  },
  "oklch": {
    "l": 0.26468,
    "c": 0.10691,
    "h": 266.3
  },
  "luminance": 0.01719
}

Semantic roles & 50–950 ramp

primary
#0D1E58
secondary
#937C2E
accent
#C737F1
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#04030B
muted
#79787C

Preview Lab

Preview with #0D1E58

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

Preview Lab → · Contrast checker → · Palette generator →

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