#120E68#120E68

#120E68 is a dark, vivid blue. Relative luminance 0.014; OKLCH L 25.9% C 0.146 H 271.6°. Best body text is #FFFFFF at 16.30:1 contrast (WCAG AA passes).

Color values

HEX#120E68
RGBrgb(18, 14, 104)
HSLhsl(243, 76%, 23%)
HSVhsv(243, 87%, 41%)
CMYKcmyk(82.7%, 86.5%, 0%, 59.2%)
CIE-LABlab(12.23, 34.62, -50.35)
CIE-LCHlch(12.23, 61.11, 304.51°)
OKLaboklab(25.86% 0.004 -0.1457)
OKLCHoklch(25.86% 0.146 271.6)
XYZxyz(2.9043, 1.4418, 13.2193)
Luminance0.0144 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120E68 #64680E
analogous
#0E3768 #120E68 #3F0E68
triadic
#120E68 #68120E #0E6812
tetradic
#120E68 #680E37 #64680E #0E683F
square
#120E68 #680E37 #64680E #0E683F
split-complementary
#120E68 #683F0E #37680E
monochromatic
#05041B #090732 #120E68 #1B159E #251DD4

Accessibility & contrast

On white

16.30
#120E68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#120E68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #120E68
16.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120E68#FFFFFF#000000##FFFFFF
##120E681.0016.301.2916.30
#FFFFFF16.301.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00246A
Deuteranopia (green-blind)
#001B66
Tritanopia (blue-blind)
#002B3C
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #120e68;
/* rgb */ color: rgb(18, 14, 104);
/* oklch */ color: oklch(25.9% 0.146 271.6);
Tailwind
colors: {
  custom: {
    50: '#634f94',
    500: '#120e68',
    950: '#000000',
  },
}
SCSS
$custom: #120e68;
$custom-light: #634f94;
$custom-dark: #000000;
JSON
{
  "hex": "#120e68",
  "rgb": {
    "r": 18,
    "g": 14,
    "b": 104
  },
  "hsl": {
    "h": 242.667,
    "s": 76.271,
    "l": 23.137
  },
  "oklch": {
    "l": 0.25861,
    "c": 0.14578,
    "h": 271.6
  },
  "luminance": 0.01442
}

Semantic roles & 50–950 ramp

primary
#120E68
secondary
#9CA131
accent
#F335EA
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#06020D
muted
#7A787E

Preview Lab

Preview with #120E68

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

Preview Lab → · Contrast checker → · Palette generator →

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