#0D0B3F#0D0B3F

#0D0B3F is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.9% C 0.094 H 275.2°. Best body text is #FFFFFF at 18.47:1 contrast (WCAG AA passes).

Color values

HEX#0D0B3F
RGBrgb(13, 11, 63)
HSLhsl(242, 70%, 15%)
HSVhsv(242, 83%, 25%)
CMYKcmyk(79.4%, 82.5%, 0%, 75.3%)
CIE-LABlab(6.18, 20.28, -32.28)
CIE-LCHlch(6.18, 38.12, 302.14°)
OKLaboklab(19.87% 0.0086 -0.0941)
OKLCHoklch(19.87% 0.094 275.2)
XYZxyz(1.1826, 0.6837, 4.7713)
Luminance0.0068 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0B3F #3D3F0B
analogous
#0B233F #0D0B3F #270B3F
triadic
#0D0B3F #3F0D0B #0B3F0D
tetradic
#0D0B3F #3F0B23 #3D3F0B #0B3F27
square
#0D0B3F #3F0B23 #3D3F0B #0B3F27
split-complementary
#0D0B3F #3F270B #233F0B
monochromatic
#05051A #05051A #0D0B3F #181473 #231DA7

Accessibility & contrast

On white

18.47
#0D0B3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#0D0B3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D0B3F
18.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0B3F#FFFFFF#000000##FFFFFF
##0D0B3F1.0018.471.1418.47
#FFFFFF18.471.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001641
Deuteranopia (green-blind)
#00113E
Tritanopia (blue-blind)
#001A24
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #0d0b3f;
/* rgb */ color: rgb(13, 11, 63);
/* oklch */ color: oklch(19.9% 0.094 275.2);
Tailwind
colors: {
  custom: {
    50: '#554b75',
    500: '#0d0b3f',
    950: '#000000',
  },
}
SCSS
$custom: #0d0b3f;
$custom-light: #554b75;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0b3f",
  "rgb": {
    "r": 13,
    "g": 11,
    "b": 63
  },
  "hsl": {
    "h": 242.308,
    "s": 70.27,
    "l": 14.51
  },
  "oklch": {
    "l": 0.19873,
    "c": 0.09449,
    "h": 275.2
  },
  "luminance": 0.00684
}

Semantic roles & 50–950 ramp

primary
#0D0B3F
secondary
#797C2A
accent
#ED3BE6
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #0D0B3F

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

Preview Lab → · Contrast checker → · Palette generator →

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