#120B3F#120B3F

#120B3F is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 20.3% C 0.093 H 280.2°. Best body text is #FFFFFF at 18.33:1 contrast (WCAG AA passes).

Color values

HEX#120B3F
RGBrgb(18, 11, 63)
HSLhsl(248, 70%, 15%)
HSVhsv(248, 83%, 25%)
CMYKcmyk(71.4%, 82.5%, 0%, 75.3%)
CIE-LABlab(6.56, 21.26, -31.63)
CIE-LCHlch(6.56, 38.11, 303.91°)
OKLaboklab(20.31% 0.0165 -0.0917)
OKLCHoklch(20.31% 0.093 280.2)
XYZxyz(1.2660, 0.7267, 4.7752)
Luminance0.0073 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120B3F #383F0B
analogous
#0B1E3F #120B3F #2C0B3F
triadic
#120B3F #3F120B #0B3F12
tetradic
#120B3F #3F0B1E #383F0B #0B3F2C
square
#120B3F #3F0B1E #383F0B #0B3F2C
split-complementary
#120B3F #3F2C0B #1E3F0B
monochromatic
#07051A #07051A #120B3F #211473 #301DA7

Accessibility & contrast

On white

18.33
#120B3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#120B3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #120B3F
18.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120B3F#FFFFFF#000000##FFFFFF
##120B3F1.0018.331.1518.33
#FFFFFF18.331.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001641
Deuteranopia (green-blind)
#00133E
Tritanopia (blue-blind)
#001924
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #120b3f;
/* rgb */ color: rgb(18, 11, 63);
/* oklch */ color: oklch(20.3% 0.093 280.2);
Tailwind
colors: {
  custom: {
    50: '#574b75',
    500: '#120b3f',
    950: '#000000',
  },
}
SCSS
$custom: #120b3f;
$custom-light: #574b75;
$custom-dark: #000000;
JSON
{
  "hex": "#120b3f",
  "rgb": {
    "r": 18,
    "g": 11,
    "b": 63
  },
  "hsl": {
    "h": 248.077,
    "s": 70.27,
    "l": 14.51
  },
  "oklch": {
    "l": 0.20311,
    "c": 0.09319,
    "h": 280.2
  },
  "luminance": 0.00727
}

Semantic roles & 50–950 ramp

primary
#120B3F
secondary
#717C2A
accent
#ED3BD5
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #120B3F

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

Preview Lab → · Contrast checker → · Palette generator →

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