#120F66#120F66

#120F66 is a dark, vivid blue. Relative luminance 0.014; OKLCH L 25.7% C 0.142 H 271.7°. Best body text is #FFFFFF at 16.33:1 contrast (WCAG AA passes).

Color values

HEX#120F66
RGBrgb(18, 15, 102)
HSLhsl(242, 74%, 23%)
HSVhsv(242, 85%, 40%)
CMYKcmyk(82.4%, 85.3%, 0%, 60%)
CIE-LABlab(12.15, 33.41, -49.17)
CIE-LCHlch(12.15, 59.45, 304.19°)
OKLaboklab(25.73% 0.0043 -0.1423)
OKLCHoklch(25.73% 0.142 271.7)
XYZxyz(2.8177, 1.4292, 12.6952)
Luminance0.0143 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120F66 #63660F
analogous
#0F3766 #120F66 #3D0F66
triadic
#120F66 #66120F #0F6612
tetradic
#120F66 #660F37 #63660F #0F663D
square
#120F66 #660F37 #63660F #0F663D
split-complementary
#120F66 #663D0F #37660F
monochromatic
#05041B #090731 #120F66 #1B179B #251FD1

Accessibility & contrast

On white

16.33
#120F66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #120F66
16.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120F66#FFFFFF#000000##FFFFFF
##120F661.0016.331.2916.33
#FFFFFF16.331.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002468
Deuteranopia (green-blind)
#001B65
Tritanopia (blue-blind)
#002A3B
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #120f66;
/* rgb */ color: rgb(18, 15, 102);
/* oklch */ color: oklch(25.7% 0.142 271.7);
Tailwind
colors: {
  custom: {
    50: '#625093',
    500: '#120f66',
    950: '#000000',
  },
}
SCSS
$custom: #120f66;
$custom-light: #625093;
$custom-dark: #000000;
JSON
{
  "hex": "#120f66",
  "rgb": {
    "r": 18,
    "g": 15,
    "b": 102
  },
  "hsl": {
    "h": 242.069,
    "s": 74.359,
    "l": 22.941
  },
  "oklch": {
    "l": 0.25728,
    "c": 0.14237,
    "h": 271.7
  },
  "luminance": 0.0143
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #120F66

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

Preview Lab → · Contrast checker → · Palette generator →

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