#0D1058#0D1058

#0D1058 is a very dark, vivid blue. Relative luminance 0.012; OKLCH L 23.8% C 0.124 H 270.4°. Best body text is #FFFFFF at 17.04:1 contrast (WCAG AA passes).

Color values

HEX#0D1058
RGBrgb(13, 16, 88)
HSLhsl(238, 74%, 20%)
HSVhsv(238, 85%, 35%)
CMYKcmyk(85.2%, 81.8%, 0%, 65.5%)
CIE-LABlab(10.26, 27.37, -42.93)
CIE-LCHlch(10.26, 50.92, 302.52°)
OKLaboklab(23.8% 0.0008 -0.1243)
OKLCHoklch(23.8% 0.124 270.4)
XYZxyz(2.1121, 1.1605, 9.3433)
Luminance0.0116 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1058 #58550D
analogous
#0D3658 #0D1058 #300D58
triadic
#0D1058 #580D10 #10580D
tetradic
#0D1058 #580D36 #58550D #0D5830
square
#0D1058 #580D36 #58550D #0D5830
split-complementary
#0D1058 #58300D #36580D
monochromatic
#04051B #050623 #0D1058 #151A8D #1D23C3

Accessibility & contrast

On white

17.04
#0D1058 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#0D1058 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D1058
17.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1058#FFFFFF#000000##FFFFFF
##0D10581.0017.041.2317.04
#FFFFFF17.041.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00205A
Deuteranopia (green-blind)
#001857
Tritanopia (blue-blind)
#002533
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #0d1058;
/* rgb */ color: rgb(13, 16, 88);
/* oklch */ color: oklch(23.8% 0.124 270.4);
Tailwind
colors: {
  custom: {
    50: '#5c4f88',
    500: '#0d1058',
    950: '#000000',
  },
}
SCSS
$custom: #0d1058;
$custom-light: #5c4f88;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1058",
  "rgb": {
    "r": 13,
    "g": 16,
    "b": 88
  },
  "hsl": {
    "h": 237.6,
    "s": 74.257,
    "l": 19.804
  },
  "oklch": {
    "l": 0.238,
    "c": 0.12435,
    "h": 270.4
  },
  "luminance": 0.01161
}

Semantic roles & 50–950 ramp

primary
#0D1058
secondary
#938F2E
accent
#E937F1
background
#F5F4F8
surface
#E9E7F0
border
#C5C3CB
text
#05020B
muted
#79787C

Preview Lab

Preview with #0D1058

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

Preview Lab → · Contrast checker → · Palette generator →

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