#0D123B#0D123B

#0D123B is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.8% C 0.079 H 272.3°. Best body text is #FFFFFF at 18.00:1 contrast (WCAG AA passes).

Color values

HEX#0D123B
RGBrgb(13, 18, 59)
HSLhsl(233, 64%, 14%)
HSVhsv(233, 78%, 23%)
CMYKcmyk(78%, 69.5%, 0%, 76.9%)
CIE-LABlab(7.53, 14.06, -27.20)
CIE-LCHlch(7.53, 30.62, 297.35°)
OKLaboklab(20.84% 0.0032 -0.0784)
OKLCHoklch(20.84% 0.079 272.3)
XYZxyz(1.1714, 0.8338, 4.2360)
Luminance0.0083 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D123B #3B360D
analogous
#0D293B #0D123B #1F0D3B
triadic
#0D123B #3B0D12 #123B0D
tetradic
#0D123B #3B0D29 #3B360D #0D3B1F
square
#0D123B #3B0D29 #3B360D #0D3B1F
split-complementary
#0D123B #3B1F0D #293B0D
monochromatic
#060819 #060819 #0D123B #18216D #23319F

Accessibility & contrast

On white

18.00
#0D123B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#0D123B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D123B
18.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D123B#FFFFFF#000000##FFFFFF
##0D123B1.0018.001.1718.00
#FFFFFF18.001.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193C
Deuteranopia (green-blind)
#00153A
Tritanopia (blue-blind)
#001C24
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #0d123b;
/* rgb */ color: rgb(13, 18, 59);
/* oklch */ color: oklch(20.8% 0.079 272.3);
Tailwind
colors: {
  custom: {
    50: '#534f71',
    500: '#0d123b',
    950: '#000000',
  },
}
SCSS
$custom: #0d123b;
$custom-light: #534f71;
$custom-dark: #000000;
JSON
{
  "hex": "#0d123b",
  "rgb": {
    "r": 13,
    "g": 18,
    "b": 59
  },
  "hsl": {
    "h": 233.478,
    "s": 63.889,
    "l": 14.118
  },
  "oklch": {
    "l": 0.20835,
    "c": 0.0785,
    "h": 272.3
  },
  "luminance": 0.00834
}

Semantic roles & 50–950 ramp

primary
#0D123B
secondary
#776F2D
accent
#D541E7
background
#F4F4F6
surface
#E8E7EC
border
#C4C3C7
text
#030208
muted
#78787B

Preview Lab

Preview with #0D123B

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

Preview Lab → · Contrast checker → · Palette generator →

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