#0D0B3E#0D0B3E

#0D0B3E is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.8% C 0.093 H 275.4°. Best body text is #FFFFFF at 18.51:1 contrast (WCAG AA passes).

Color values

HEX#0D0B3E
RGBrgb(13, 11, 62)
HSLhsl(242, 70%, 14%)
HSVhsv(242, 82%, 24%)
CMYKcmyk(79%, 82.3%, 0%, 75.7%)
CIE-LABlab(6.08, 19.80, -31.72)
CIE-LCHlch(6.08, 37.39, 301.96°)
OKLaboklab(19.75% 0.0088 -0.0926)
OKLCHoklch(19.75% 0.093 275.4)
XYZxyz(1.1549, 0.6726, 4.6255)
Luminance0.0067 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0B3E #3C3E0B
analogous
#0B233E #0D0B3E #270B3E
triadic
#0D0B3E #3E0D0B #0B3E0D
tetradic
#0D0B3E #3E0B23 #3C3E0B #0B3E27
square
#0D0B3E #3E0B23 #3C3E0B #0B3E27
split-complementary
#0D0B3E #3E270B #233E0B
monochromatic
#05051A #05051A #0D0B3E #181472 #231DA6

Accessibility & contrast

On white

18.51
#0D0B3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#0D0B3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D0B3E
18.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0B3E#FFFFFF#000000##FFFFFF
##0D0B3E1.0018.511.1318.51
#FFFFFF18.511.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001640
Deuteranopia (green-blind)
#00113D
Tritanopia (blue-blind)
#001923
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #0d0b3e;
/* rgb */ color: rgb(13, 11, 62);
/* oklch */ color: oklch(19.8% 0.093 275.4);
Tailwind
colors: {
  custom: {
    50: '#544b74',
    500: '#0d0b3e',
    950: '#000000',
  },
}
SCSS
$custom: #0d0b3e;
$custom-light: #544b74;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0b3e",
  "rgb": {
    "r": 13,
    "g": 11,
    "b": 62
  },
  "hsl": {
    "h": 242.353,
    "s": 69.863,
    "l": 14.314
  },
  "oklch": {
    "l": 0.19752,
    "c": 0.093,
    "h": 275.4
  },
  "luminance": 0.00673
}

Semantic roles & 50–950 ramp

primary
#0D0B3E
secondary
#787B2A
accent
#ED3BE6
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #0D0B3E

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

Preview Lab → · Contrast checker → · Palette generator →

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