#120F68#120F68

#120F68 is a dark, vivid blue. Relative luminance 0.015; OKLCH L 26.0% C 0.145 H 271.5°. Best body text is #FFFFFF at 16.23:1 contrast (WCAG AA passes).

Color values

HEX#120F68
RGBrgb(18, 15, 104)
HSLhsl(242, 75%, 23%)
HSVhsv(242, 86%, 41%)
CMYKcmyk(82.7%, 85.6%, 0%, 59.2%)
CIE-LABlab(12.41, 34.10, -50.06)
CIE-LCHlch(12.41, 60.57, 304.26°)
OKLaboklab(25.99% 0.0037 -0.1449)
OKLCHoklch(25.99% 0.145 271.5)
XYZxyz(2.9181, 1.4694, 13.2238)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120F68 #65680F
analogous
#0F3868 #120F68 #3E0F68
triadic
#120F68 #68120F #0F6812
tetradic
#120F68 #680F38 #65680F #0F683E
square
#120F68 #680F38 #65680F #0F683E
split-complementary
#120F68 #683E0F #38680F
monochromatic
#05041B #090733 #120F68 #1B179D #251ED3

Accessibility & contrast

On white

16.23
#120F68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #120F68
16.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120F68#FFFFFF#000000##FFFFFF
##120F681.0016.231.2916.23
#FFFFFF16.231.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #120f68;
/* rgb */ color: rgb(18, 15, 104);
/* oklch */ color: oklch(26.0% 0.145 271.5);
Tailwind
colors: {
  custom: {
    50: '#625094',
    500: '#120f68',
    950: '#000000',
  },
}
SCSS
$custom: #120f68;
$custom-light: #625094;
$custom-dark: #000000;
JSON
{
  "hex": "#120f68",
  "rgb": {
    "r": 18,
    "g": 15,
    "b": 104
  },
  "hsl": {
    "h": 242.022,
    "s": 74.79,
    "l": 23.333
  },
  "oklch": {
    "l": 0.25985,
    "c": 0.14493,
    "h": 271.5
  },
  "luminance": 0.0147
}

Semantic roles & 50–950 ramp

primary
#120F68
secondary
#9DA132
accent
#F136EB
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#06020D
muted
#7A787E

Preview Lab

Preview with #120F68

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

Preview Lab → · Contrast checker → · Palette generator →

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