#120D34#120D34

#120D34 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.5% C 0.073 H 283.0°. Best body text is #FFFFFF at 18.54:1 contrast (WCAG AA passes).

Color values

HEX#120D34
RGBrgb(18, 13, 52)
HSLhsl(248, 60%, 13%)
HSVhsv(248, 75%, 20%)
CMYKcmyk(65.4%, 75%, 0%, 79.6%)
CIE-LABlab(6.00, 15.20, -24.57)
CIE-LCHlch(6.00, 28.89, 301.75°)
OKLaboklab(19.47% 0.0165 -0.0715)
OKLCHoklch(19.47% 0.073 283)
XYZxyz(1.0130, 0.6643, 3.3230)
Luminance0.0066 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120D34 #2F340D
analogous
#0D1B34 #120D34 #250D34
triadic
#120D34 #34120D #0D3412
tetradic
#120D34 #340D1B #2F340D #0D3425
square
#120D34 #340D1B #2F340D #0D3425
split-complementary
#120D34 #34250D #1B340D
monochromatic
#080618 #080618 #120D34 #231965 #342596

Accessibility & contrast

On white

18.54
#120D34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#120D34 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #120D34
18.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120D34#FFFFFF#000000##FFFFFF
##120D341.0018.541.1318.54
#FFFFFF18.541.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001535
Deuteranopia (green-blind)
#001233
Tritanopia (blue-blind)
#04171E
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #120d34;
/* rgb */ color: rgb(18, 13, 52);
/* oklch */ color: oklch(19.5% 0.073 283.0);
Tailwind
colors: {
  custom: {
    50: '#544c6c',
    500: '#120d34',
    950: '#000000',
  },
}
SCSS
$custom: #120d34;
$custom-light: #544c6c;
$custom-dark: #000000;
JSON
{
  "hex": "#120d34",
  "rgb": {
    "r": 18,
    "g": 13,
    "b": 52
  },
  "hsl": {
    "h": 247.692,
    "s": 60,
    "l": 12.745
  },
  "oklch": {
    "l": 0.19473,
    "c": 0.07342,
    "h": 283
  },
  "luminance": 0.00664
}

Semantic roles & 50–950 ramp

primary
#120D34
secondary
#676F2D
accent
#E345CF
background
#F5F4F6
surface
#E8E7EB
border
#C4C3C6
text
#030107
muted
#78777A

Preview Lab

Preview with #120D34

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

Preview Lab → · Contrast checker → · Palette generator →

#120D34 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva