#0D1235#0D1235

#0D1235 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.2% C 0.068 H 272.6°. Best body text is #FFFFFF at 18.18:1 contrast (WCAG AA passes).

Color values

HEX#0D1235
RGBrgb(13, 18, 53)
HSLhsl(233, 61%, 13%)
HSVhsv(233, 75%, 21%)
CMYKcmyk(75.5%, 66%, 0%, 79.2%)
CIE-LABlab(7.00, 11.31, -23.71)
CIE-LCHlch(7.00, 26.27, 295.51°)
OKLaboklab(20.24% 0.0031 -0.0684)
OKLCHoklch(20.24% 0.068 272.6)
XYZxyz(1.0247, 0.7751, 3.4631)
Luminance0.0077 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1235 #35300D
analogous
#0D2635 #0D1235 #1C0D35
triadic
#0D1235 #350D12 #12350D
tetradic
#0D1235 #350D26 #35300D #0D351C
square
#0D1235 #350D26 #35300D #0D351C
split-complementary
#0D1235 #351C0D #26350D
monochromatic
#060819 #060819 #0D1235 #192366 #253397

Accessibility & contrast

On white

18.18
#0D1235 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#0D1235 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D1235
18.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1235#FFFFFF#000000##FFFFFF
##0D12351.0018.181.1618.18
#FFFFFF18.181.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001736
Deuteranopia (green-blind)
#001434
Tritanopia (blue-blind)
#001A21
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #0d1235;
/* rgb */ color: rgb(13, 18, 53);
/* oklch */ color: oklch(20.2% 0.068 272.6);
Tailwind
colors: {
  custom: {
    50: '#514f6c',
    500: '#0d1235',
    950: '#000000',
  },
}
SCSS
$custom: #0d1235;
$custom-light: #514f6c;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1235",
  "rgb": {
    "r": 13,
    "g": 18,
    "b": 53
  },
  "hsl": {
    "h": 232.5,
    "s": 60.606,
    "l": 12.941
  },
  "oklch": {
    "l": 0.20237,
    "c": 0.06844,
    "h": 272.6
  },
  "luminance": 0.00775
}

Semantic roles & 50–950 ramp

primary
#0D1235
secondary
#70682D
accent
#D044E4
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020207
muted
#78787A

Preview Lab

Preview with #0D1235

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

Preview Lab → · Contrast checker → · Palette generator →

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