#120E6A#120E6A

#120E6A is a dark, vivid blue. Relative luminance 0.015; OKLCH L 26.1% C 0.148 H 271.4°. Best body text is #FFFFFF at 16.20:1 contrast (WCAG AA passes).

Color values

HEX#120E6A
RGBrgb(18, 14, 106)
HSLhsl(243, 77%, 24%)
HSVhsv(243, 87%, 42%)
CMYKcmyk(83%, 86.8%, 0%, 58.4%)
CIE-LABlab(12.50, 35.30, -51.23)
CIE-LCHlch(12.50, 62.21, 304.57°)
OKLaboklab(26.12% 0.0035 -0.1482)
OKLCHoklch(26.12% 0.148 271.4)
XYZxyz(3.0071, 1.4829, 13.7606)
Luminance0.0148 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120E6A #666A0E
analogous
#0E386A #120E6A #400E6A
triadic
#120E6A #6A120E #0E6A12
tetradic
#120E6A #6A0E38 #666A0E #0E6A40
square
#120E6A #6A0E38 #666A0E #0E6A40
split-complementary
#120E6A #6A400E #386A0E
monochromatic
#05041B #090734 #120E6A #1B15A0 #241CD6

Accessibility & contrast

On white

16.20
#120E6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#120E6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #120E6A
16.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120E6A#FFFFFF#000000##FFFFFF
##120E6A1.0016.201.3016.20
#FFFFFF16.201.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00256C
Deuteranopia (green-blind)
#001C68
Tritanopia (blue-blind)
#002C3D
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #120e6a;
/* rgb */ color: rgb(18, 14, 106);
/* oklch */ color: oklch(26.1% 0.148 271.4);
Tailwind
colors: {
  custom: {
    50: '#634f96',
    500: '#120e6a',
    950: '#000000',
  },
}
SCSS
$custom: #120e6a;
$custom-light: #634f96;
$custom-dark: #000000;
JSON
{
  "hex": "#120e6a",
  "rgb": {
    "r": 18,
    "g": 14,
    "b": 106
  },
  "hsl": {
    "h": 242.609,
    "s": 76.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.26121,
    "c": 0.14829,
    "h": 271.4
  },
  "luminance": 0.01483
}

Semantic roles & 50–950 ramp

primary
#120E6A
secondary
#9EA331
accent
#F335EB
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#06020D
muted
#7A787E

Preview Lab

Preview with #120E6A

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

Preview Lab → · Contrast checker → · Palette generator →

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