#0D1358#0D1358

#0D1358 is a very dark, vivid blue. Relative luminance 0.013; OKLCH L 24.3% C 0.121 H 269.8°. Best body text is #FFFFFF at 16.78:1 contrast (WCAG AA passes).

Color values

HEX#0D1358
RGBrgb(13, 19, 88)
HSLhsl(235, 74%, 20%)
HSVhsv(235, 85%, 35%)
CMYKcmyk(85.2%, 78.4%, 0%, 65.5%)
CIE-LABlab(10.96, 25.41, -41.78)
CIE-LCHlch(10.96, 48.90, 301.30°)
OKLaboklab(24.3% -0.0005 -0.121)
OKLCHoklch(24.3% 0.121 269.8)
XYZxyz(2.1597, 1.2556, 9.3592)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1358 #58520D
analogous
#0D3958 #0D1358 #2D0D58
triadic
#0D1358 #580D13 #13580D
tetradic
#0D1358 #580D39 #58520D #0D582D
square
#0D1358 #580D39 #58520D #0D582D
split-complementary
#0D1358 #582D0D #39580D
monochromatic
#04061B #050723 #0D1358 #151F8D #1D2AC3

Accessibility & contrast

On white

16.78
#0D1358 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#0D1358 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D1358
16.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1358#FFFFFF#000000##FFFFFF
##0D13581.0016.781.2516.78
#FFFFFF16.781.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00215A
Deuteranopia (green-blind)
#001A57
Tritanopia (blue-blind)
#002734
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #0d1358;
/* rgb */ color: rgb(13, 19, 88);
/* oklch */ color: oklch(24.3% 0.121 269.8);
Tailwind
colors: {
  custom: {
    50: '#5c5188',
    500: '#0d1358',
    950: '#000000',
  },
}
SCSS
$custom: #0d1358;
$custom-light: #5c5188;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1358",
  "rgb": {
    "r": 13,
    "g": 19,
    "b": 88
  },
  "hsl": {
    "h": 235.2,
    "s": 74.257,
    "l": 19.804
  },
  "oklch": {
    "l": 0.24297,
    "c": 0.12102,
    "h": 269.8
  },
  "luminance": 0.01256
}

Semantic roles & 50–950 ramp

primary
#0D1358
secondary
#938A2E
accent
#E237F1
background
#F5F4F8
surface
#E9E7F0
border
#C5C3CB
text
#05020B
muted
#79787C

Preview Lab

Preview with #0D1358

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

Preview Lab → · Contrast checker → · Palette generator →

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