#0D1150#0D1150

#0D1150 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.0% C 0.112 H 270.9°. Best body text is #FFFFFF at 17.31:1 contrast (WCAG AA passes).

Color values

HEX#0D1150
RGBrgb(13, 17, 80)
HSLhsl(236, 72%, 18%)
HSVhsv(236, 84%, 31%)
CMYKcmyk(83.7%, 78.8%, 0%, 68.6%)
CIE-LABlab(9.53, 23.59, -38.69)
CIE-LCHlch(9.53, 45.32, 301.38°)
OKLaboklab(22.99% 0.0018 -0.112)
OKLCHoklch(22.99% 0.112 270.9)
XYZxyz(1.8139, 1.0655, 7.6979)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1150 #504C0D
analogous
#0D3250 #0D1150 #2A0D50
triadic
#0D1150 #500D11 #11500D
tetradic
#0D1150 #500D32 #504C0D #0D502A
square
#0D1150 #500D32 #504C0D #0D502A
split-complementary
#0D1150 #502A0D #32500D
monochromatic
#04061A #04061B #0D1150 #161C85 #1E27B9

Accessibility & contrast

On white

17.31
#0D1150 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#0D1150 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D1150
17.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1150#FFFFFF#000000##FFFFFF
##0D11501.0017.311.2117.31
#FFFFFF17.311.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E52
Deuteranopia (green-blind)
#00174F
Tritanopia (blue-blind)
#00232F
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #0d1150;
/* rgb */ color: rgb(13, 17, 80);
/* oklch */ color: oklch(23.0% 0.112 270.9);
Tailwind
colors: {
  custom: {
    50: '#594f82',
    500: '#0d1150',
    950: '#000000',
  },
}
SCSS
$custom: #0d1150;
$custom-light: #594f82;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1150",
  "rgb": {
    "r": 13,
    "g": 17,
    "b": 80
  },
  "hsl": {
    "h": 236.418,
    "s": 72.043,
    "l": 18.235
  },
  "oklch": {
    "l": 0.22987,
    "c": 0.11203,
    "h": 270.9
  },
  "luminance": 0.01066
}

Semantic roles & 50–950 ramp

primary
#0D1150
secondary
#8B852E
accent
#E439EF
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04020A
muted
#79787C

Preview Lab

Preview with #0D1150

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

Preview Lab → · Contrast checker → · Palette generator →

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