#0D124A#0D124A

#0D124A is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.5% C 0.102 H 271.1°. Best body text is #FFFFFF at 17.46:1 contrast (WCAG AA passes).

Color values

HEX#0D124A
RGBrgb(13, 18, 74)
HSLhsl(235, 70%, 17%)
HSVhsv(235, 82%, 29%)
CMYKcmyk(82.4%, 75.7%, 0%, 71%)
CIE-LABlab(9.09, 20.45, -35.25)
CIE-LCHlch(9.09, 40.75, 300.13°)
OKLaboklab(22.47% 0.002 -0.102)
OKLCHoklch(22.47% 0.102 271.1)
XYZxyz(1.6179, 1.0124, 6.5874)
Luminance0.0101 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D124A #4A450D
analogous
#0D314A #0D124A #270D4A
triadic
#0D124A #4A0D12 #124A0D
tetradic
#0D124A #4A0D31 #4A450D #0D4A27
square
#0D124A #4A0D31 #4A450D #0D4A27
split-complementary
#0D124A #4A270D #314A0D
monochromatic
#05061A #05061A #0D124A #161F7E #1F2BB2

Accessibility & contrast

On white

17.46
#0D124A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#0D124A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D124A
17.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D124A#FFFFFF#000000##FFFFFF
##0D124A1.0017.461.2017.46
#FFFFFF17.461.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D4C
Deuteranopia (green-blind)
#001749
Tritanopia (blue-blind)
#00212C
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #0d124a;
/* rgb */ color: rgb(13, 18, 74);
/* oklch */ color: oklch(22.5% 0.102 271.1);
Tailwind
colors: {
  custom: {
    50: '#57507d',
    500: '#0d124a',
    950: '#000000',
  },
}
SCSS
$custom: #0d124a;
$custom-light: #57507d;
$custom-dark: #000000;
JSON
{
  "hex": "#0d124a",
  "rgb": {
    "r": 13,
    "g": 18,
    "b": 74
  },
  "hsl": {
    "h": 235.082,
    "s": 70.115,
    "l": 17.059
  },
  "oklch": {
    "l": 0.22469,
    "c": 0.102,
    "h": 271.1
  },
  "luminance": 0.01013
}

Semantic roles & 50–950 ramp

primary
#0D124A
secondary
#857E2E
accent
#DE3BED
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #0D124A

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

Preview Lab → · Contrast checker → · Palette generator →

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