#0D0F58#0D0F58

#0D0F58 is a very dark, vivid blue. Relative luminance 0.011; OKLCH L 23.6% C 0.125 H 270.5°. Best body text is #FFFFFF at 17.12:1 contrast (WCAG AA passes).

Color values

HEX#0D0F58
RGBrgb(13, 15, 88)
HSLhsl(238, 74%, 20%)
HSVhsv(238, 85%, 35%)
CMYKcmyk(85.2%, 83%, 0%, 65.5%)
CIE-LABlab(10.04, 28.00, -43.30)
CIE-LCHlch(10.04, 51.56, 302.89°)
OKLaboklab(23.64% 0.0012 -0.1254)
OKLCHoklch(23.64% 0.125 270.5)
XYZxyz(2.0977, 1.1316, 9.3385)
Luminance0.0113 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0F58 #58560D
analogous
#0D3558 #0D0F58 #310D58
triadic
#0D0F58 #580D0F #0F580D
tetradic
#0D0F58 #580D35 #58560D #0D5831
square
#0D0F58 #580D35 #58560D #0D5831
split-complementary
#0D0F58 #58310D #35580D
monochromatic
#04051B #050623 #0D0F58 #15188D #1D21C3

Accessibility & contrast

On white

17.12
#0D0F58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D0F58
17.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0F58#FFFFFF#000000##FFFFFF
##0D0F581.0017.121.2317.12
#FFFFFF17.121.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0d0f58;
/* rgb */ color: rgb(13, 15, 88);
/* oklch */ color: oklch(23.6% 0.125 270.5);
Tailwind
colors: {
  custom: {
    50: '#5c4e88',
    500: '#0d0f58',
    950: '#000000',
  },
}
SCSS
$custom: #0d0f58;
$custom-light: #5c4e88;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0f58",
  "rgb": {
    "r": 13,
    "g": 15,
    "b": 88
  },
  "hsl": {
    "h": 238.4,
    "s": 74.257,
    "l": 19.804
  },
  "oklch": {
    "l": 0.23644,
    "c": 0.1254,
    "h": 270.5
  },
  "luminance": 0.01132
}

Semantic roles & 50–950 ramp

primary
#0D0F58
secondary
#93902E
accent
#EC37F1
background
#F5F4F8
surface
#E9E7F0
border
#C5C3CB
text
#05020B
muted
#79787C

Preview Lab

Preview with #0D0F58

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

Preview Lab → · Contrast checker → · Palette generator →

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