#0D1658#0D1658

#0D1658 is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.8% C 0.117 H 269.1°. Best body text is #FFFFFF at 16.50:1 contrast (WCAG AA passes).

Color values

HEX#0D1658
RGBrgb(13, 22, 88)
HSLhsl(233, 74%, 20%)
HSVhsv(233, 85%, 35%)
CMYKcmyk(85.2%, 75%, 0%, 65.5%)
CIE-LABlab(11.71, 23.33, -40.54)
CIE-LCHlch(11.71, 46.77, 299.92°)
OKLaboklab(24.84% -0.0019 -0.1174)
OKLCHoklch(24.84% 0.117 269.1)
XYZxyz(2.2137, 1.3637, 9.3772)
Luminance0.0136 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1658 #584F0D
analogous
#0D3C58 #0D1658 #2A0D58
triadic
#0D1658 #580D16 #16580D
tetradic
#0D1658 #580D3C #584F0D #0D582A
square
#0D1658 #580D3C #584F0D #0D582A
split-complementary
#0D1658 #582A0D #3C580D
monochromatic
#04071B #050923 #0D1658 #15238D #1D31C3

Accessibility & contrast

On white

16.50
#0D1658 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#0D1658 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D1658
16.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1658#FFFFFF#000000##FFFFFF
##0D16581.0016.501.2716.50
#FFFFFF16.501.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0d1658;
/* rgb */ color: rgb(13, 22, 88);
/* oklch */ color: oklch(24.8% 0.117 269.1);
Tailwind
colors: {
  custom: {
    50: '#5b5388',
    500: '#0d1658',
    950: '#000000',
  },
}
SCSS
$custom: #0d1658;
$custom-light: #5b5388;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1658",
  "rgb": {
    "r": 13,
    "g": 22,
    "b": 88
  },
  "hsl": {
    "h": 232.8,
    "s": 74.257,
    "l": 19.804
  },
  "oklch": {
    "l": 0.24839,
    "c": 0.11743,
    "h": 269.1
  },
  "luminance": 0.01364
}

Semantic roles & 50–950 ramp

primary
#0D1658
secondary
#93862E
accent
#DB37F1
background
#F5F4F8
surface
#E9E7F0
border
#C5C3CB
text
#05020B
muted
#79787C

Preview Lab

Preview with #0D1658

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

Preview Lab → · Contrast checker → · Palette generator →

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