#120B37#120B37

#120B37 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.4% C 0.081 H 283.1°. Best body text is #FFFFFF at 18.60:1 contrast (WCAG AA passes).

Color values

HEX#120B37
RGBrgb(18, 11, 55)
HSLhsl(250, 67%, 13%)
HSVhsv(250, 80%, 22%)
CMYKcmyk(67.3%, 80%, 0%, 78.4%)
CIE-LABlab(5.81, 17.63, -27.07)
CIE-LCHlch(5.81, 32.30, 303.08°)
OKLaboklab(19.4% 0.0183 -0.0791)
OKLCHoklch(19.4% 0.081 283.1)
XYZxyz(1.0585, 0.6437, 3.6822)
Luminance0.0064 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120B37 #30370B
analogous
#0B1A37 #120B37 #280B37
triadic
#120B37 #37120B #0B3712
tetradic
#120B37 #370B1A #30370B #0B3728
square
#120B37 #370B1A #30370B #0B3728
split-complementary
#120B37 #37280B #1A370B
monochromatic
#08051A #08051A #120B37 #23156A #331F9D

Accessibility & contrast

On white

18.60
#120B37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #120B37
18.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120B37#FFFFFF#000000##FFFFFF
##120B371.0018.601.1318.60
#FFFFFF18.601.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001438
Deuteranopia (green-blind)
#001136
Tritanopia (blue-blind)
#02161F
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #120b37;
/* rgb */ color: rgb(18, 11, 55);
/* oklch */ color: oklch(19.4% 0.081 283.1);
Tailwind
colors: {
  custom: {
    50: '#554b6e',
    500: '#120b37',
    950: '#000000',
  },
}
SCSS
$custom: #120b37;
$custom-light: #554b6e;
$custom-dark: #000000;
JSON
{
  "hex": "#120b37",
  "rgb": {
    "r": 18,
    "g": 11,
    "b": 55
  },
  "hsl": {
    "h": 249.545,
    "s": 66.667,
    "l": 12.941
  },
  "oklch": {
    "l": 0.19404,
    "c": 0.08117,
    "h": 283.1
  },
  "luminance": 0.00644
}

Semantic roles & 50–950 ramp

primary
#120B37
secondary
#68742A
accent
#EA3ECE
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#030107
muted
#78777A

Preview Lab

Preview with #120B37

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

Preview Lab → · Contrast checker → · Palette generator →

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