#120F69#120F69

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

Color values

HEX#120F69
RGBrgb(18, 15, 105)
HSLhsl(242, 75%, 24%)
HSVhsv(242, 86%, 41%)
CMYKcmyk(82.9%, 85.7%, 0%, 58.8%)
CIE-LABlab(12.54, 34.44, -50.50)
CIE-LCHlch(12.54, 61.13, 304.29°)
OKLaboklab(26.11% 0.0035 -0.1462)
OKLCHoklch(26.11% 0.146 271.4)
XYZxyz(2.9692, 1.4898, 13.4929)
Luminance0.0149 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120F69 #66690F
analogous
#0F3969 #120F69 #3F0F69
triadic
#120F69 #69120F #0F6912
tetradic
#120F69 #690F39 #66690F #0F693F
square
#120F69 #690F39 #66690F #0F693F
split-complementary
#120F69 #693F0F #39690F
monochromatic
#05041B #090733 #120F69 #1B179F #241ED4

Accessibility & contrast

On white

16.18
#120F69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #120F69
16.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120F69#FFFFFF#000000##FFFFFF
##120F691.0016.181.3016.18
#FFFFFF16.181.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #120f69;
/* rgb */ color: rgb(18, 15, 105);
/* oklch */ color: oklch(26.1% 0.146 271.4);
Tailwind
colors: {
  custom: {
    50: '#635095',
    500: '#120f69',
    950: '#000000',
  },
}
SCSS
$custom: #120f69;
$custom-light: #635095;
$custom-dark: #000000;
JSON
{
  "hex": "#120f69",
  "rgb": {
    "r": 18,
    "g": 15,
    "b": 105
  },
  "hsl": {
    "h": 242,
    "s": 75,
    "l": 23.529
  },
  "oklch": {
    "l": 0.26114,
    "c": 0.1462,
    "h": 271.4
  },
  "luminance": 0.0149
}

Semantic roles & 50–950 ramp

primary
#120F69
secondary
#9EA132
accent
#F236EB
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#06020D
muted
#7A787E

Preview Lab

Preview with #120F69

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

Preview Lab → · Contrast checker → · Palette generator →

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