#120F67#120F67

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

Color values

HEX#120F67
RGBrgb(18, 15, 103)
HSLhsl(242, 75%, 23%)
HSVhsv(242, 85%, 40%)
CMYKcmyk(82.5%, 85.4%, 0%, 59.6%)
CIE-LABlab(12.28, 33.75, -49.61)
CIE-LCHlch(12.28, 60.01, 304.23°)
OKLaboklab(25.86% 0.004 -0.1436)
OKLCHoklch(25.86% 0.144 271.6)
XYZxyz(2.8676, 1.4492, 12.9579)
Luminance0.0145 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120F67 #64670F
analogous
#0F3867 #120F67 #3E0F67
triadic
#120F67 #67120F #0F6712
tetradic
#120F67 #670F38 #64670F #0F673E
square
#120F67 #670F38 #64670F #0F673E
split-complementary
#120F67 #673E0F #38670F
monochromatic
#05041B #090732 #120F67 #1B179C #251FD2

Accessibility & contrast

On white

16.28
#120F67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #120F67
16.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120F67#FFFFFF#000000##FFFFFF
##120F671.0016.281.2916.28
#FFFFFF16.281.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002469
Deuteranopia (green-blind)
#001C66
Tritanopia (blue-blind)
#002B3C
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #120f67;
/* rgb */ color: rgb(18, 15, 103);
/* oklch */ color: oklch(25.9% 0.144 271.6);
Tailwind
colors: {
  custom: {
    50: '#625094',
    500: '#120f67',
    950: '#000000',
  },
}
SCSS
$custom: #120f67;
$custom-light: #625094;
$custom-dark: #000000;
JSON
{
  "hex": "#120f67",
  "rgb": {
    "r": 18,
    "g": 15,
    "b": 103
  },
  "hsl": {
    "h": 242.045,
    "s": 74.576,
    "l": 23.137
  },
  "oklch": {
    "l": 0.25856,
    "c": 0.14366,
    "h": 271.6
  },
  "luminance": 0.0145
}

Semantic roles & 50–950 ramp

primary
#120F67
secondary
#9CA032
accent
#F137EB
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #120F67

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

Preview Lab → · Contrast checker → · Palette generator →

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