#0D1758#0D1758

#0D1758 is a dark, moderate blue. Relative luminance 0.014; OKLCH L 25.0% C 0.116 H 268.8°. Best body text is #FFFFFF at 16.40:1 contrast (WCAG AA passes).

Color values

HEX#0D1758
RGBrgb(13, 23, 88)
HSLhsl(232, 74%, 20%)
HSVhsv(232, 85%, 35%)
CMYKcmyk(85.2%, 73.9%, 0%, 65.5%)
CIE-LABlab(11.98, 22.62, -40.11)
CIE-LCHlch(11.98, 46.05, 299.43°)
OKLaboklab(25.03% -0.0025 -0.1161)
OKLCHoklch(25.03% 0.116 268.8)
XYZxyz(2.2332, 1.4027, 9.3837)
Luminance0.0140 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1758 #584E0D
analogous
#0D3D58 #0D1758 #290D58
triadic
#0D1758 #580D17 #17580D
tetradic
#0D1758 #580D3D #584E0D #0D5829
square
#0D1758 #580D3D #584E0D #0D5829
split-complementary
#0D1758 #58290D #3D580D
monochromatic
#04071B #050923 #0D1758 #15258D #1D33C3

Accessibility & contrast

On white

16.40
#0D1758 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#0D1758 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D1758
16.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1758#FFFFFF#000000##FFFFFF
##0D17581.0016.401.2816.40
#FFFFFF16.401.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235A
Deuteranopia (green-blind)
#001C57
Tritanopia (blue-blind)
#002935
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #0d1758;
/* rgb */ color: rgb(13, 23, 88);
/* oklch */ color: oklch(25.0% 0.116 268.8);
Tailwind
colors: {
  custom: {
    50: '#5b5488',
    500: '#0d1758',
    950: '#000000',
  },
}
SCSS
$custom: #0d1758;
$custom-light: #5b5488;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1758",
  "rgb": {
    "r": 13,
    "g": 23,
    "b": 88
  },
  "hsl": {
    "h": 232,
    "s": 74.257,
    "l": 19.804
  },
  "oklch": {
    "l": 0.25028,
    "c": 0.11618,
    "h": 268.8
  },
  "luminance": 0.01403
}

Semantic roles & 50–950 ramp

primary
#0D1758
secondary
#93852E
accent
#D837F1
background
#F5F4F8
surface
#E9E7F0
border
#C5C3CB
text
#05020B
muted
#79787C

Preview Lab

Preview with #0D1758

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

Preview Lab → · Contrast checker → · Palette generator →

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