#120B3E#120B3E

#120B3E is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 20.2% C 0.092 H 280.5°. Best body text is #FFFFFF at 18.37:1 contrast (WCAG AA passes).

Color values

HEX#120B3E
RGBrgb(18, 11, 62)
HSLhsl(248, 70%, 14%)
HSVhsv(248, 82%, 24%)
CMYKcmyk(71%, 82.3%, 0%, 75.7%)
CIE-LABlab(6.46, 20.82, -31.07)
CIE-LCHlch(6.46, 37.40, 303.83°)
OKLaboklab(20.2% 0.0168 -0.0902)
OKLCHoklch(20.2% 0.092 280.5)
XYZxyz(1.2384, 0.7157, 4.6294)
Luminance0.0072 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120B3E #373E0B
analogous
#0B1E3E #120B3E #2C0B3E
triadic
#120B3E #3E120B #0B3E12
tetradic
#120B3E #3E0B1E #373E0B #0B3E2C
square
#120B3E #3E0B1E #373E0B #0B3E2C
split-complementary
#120B3E #3E2C0B #1E3E0B
monochromatic
#08051A #08051A #120B3E #211472 #301DA6

Accessibility & contrast

On white

18.37
#120B3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#120B3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #120B3E
18.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120B3E#FFFFFF#000000##FFFFFF
##120B3E1.0018.371.1418.37
#FFFFFF18.371.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001640
Deuteranopia (green-blind)
#00123D
Tritanopia (blue-blind)
#001923
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #120b3e;
/* rgb */ color: rgb(18, 11, 62);
/* oklch */ color: oklch(20.2% 0.092 280.5);
Tailwind
colors: {
  custom: {
    50: '#574b74',
    500: '#120b3e',
    950: '#000000',
  },
}
SCSS
$custom: #120b3e;
$custom-light: #574b74;
$custom-dark: #000000;
JSON
{
  "hex": "#120b3e",
  "rgb": {
    "r": 18,
    "g": 11,
    "b": 62
  },
  "hsl": {
    "h": 248.235,
    "s": 69.863,
    "l": 14.314
  },
  "oklch": {
    "l": 0.20195,
    "c": 0.09172,
    "h": 280.5
  },
  "luminance": 0.00716
}

Semantic roles & 50–950 ramp

primary
#120B3E
secondary
#707B2A
accent
#ED3BD4
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #120B3E

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

Preview Lab → · Contrast checker → · Palette generator →

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