#120E63#120E63

#120E63 is a dark, vivid blue. Relative luminance 0.013; OKLCH L 25.2% C 0.139 H 272.2°. Best body text is #FFFFFF at 16.55:1 contrast (WCAG AA passes).

Color values

HEX#120E63
RGBrgb(18, 14, 99)
HSLhsl(243, 75%, 22%)
HSVhsv(243, 86%, 39%)
CMYKcmyk(81.8%, 85.9%, 0%, 61.2%)
CIE-LABlab(11.57, 32.91, -48.14)
CIE-LCHlch(11.57, 58.31, 304.36°)
OKLaboklab(25.21% 0.0053 -0.1393)
OKLCHoklch(25.21% 0.139 272.2)
XYZxyz(2.6579, 1.3432, 11.9212)
Luminance0.0134 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120E63 #5F630E
analogous
#0E3463 #120E63 #3D0E63
triadic
#120E63 #63120E #0E6312
tetradic
#120E63 #630E34 #5F630E #0E633D
square
#120E63 #630E34 #5F630E #0E633D
split-complementary
#120E63 #633D0E #34630E
monochromatic
#05041B #08062D #120E63 #1C1699 #251DCE

Accessibility & contrast

On white

16.55
#120E63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#120E63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #120E63
16.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120E63#FFFFFF#000000##FFFFFF
##120E631.0016.551.2716.55
#FFFFFF16.551.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002365
Deuteranopia (green-blind)
#001A62
Tritanopia (blue-blind)
#002939
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #120e63;
/* rgb */ color: rgb(18, 14, 99);
/* oklch */ color: oklch(25.2% 0.139 272.2);
Tailwind
colors: {
  custom: {
    50: '#614f90',
    500: '#120e63',
    950: '#000000',
  },
}
SCSS
$custom: #120e63;
$custom-light: #614f90;
$custom-dark: #000000;
JSON
{
  "hex": "#120e63",
  "rgb": {
    "r": 18,
    "g": 14,
    "b": 99
  },
  "hsl": {
    "h": 242.824,
    "s": 75.221,
    "l": 22.157
  },
  "oklch": {
    "l": 0.25214,
    "c": 0.1394,
    "h": 272.2
  },
  "luminance": 0.01344
}

Semantic roles & 50–950 ramp

primary
#120E63
secondary
#979C30
accent
#F236E9
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #120E63

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

Preview Lab → · Contrast checker → · Palette generator →

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