#120F53#120F53

#120F53 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.3% C 0.117 H 274.4°. Best body text is #FFFFFF at 17.23:1 contrast (WCAG AA passes).

Color values

HEX#120F53
RGBrgb(18, 15, 83)
HSLhsl(243, 69%, 19%)
HSVhsv(243, 82%, 33%)
CMYKcmyk(78.3%, 81.9%, 0%, 67.5%)
CIE-LABlab(9.76, 26.59, -40.36)
CIE-LCHlch(9.76, 48.33, 303.38°)
OKLaboklab(23.35% 0.0089 -0.1167)
OKLCHoklch(23.35% 0.117 274.4)
XYZxyz(1.9811, 1.0946, 8.2888)
Luminance0.0109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120F53 #50530F
analogous
#0F2E53 #120F53 #340F53
triadic
#120F53 #53120F #0F5312
tetradic
#120F53 #530F2E #50530F #0F5334
square
#120F53 #530F2E #50530F #0F5334
split-complementary
#120F53 #53340F #2E530F
monochromatic
#06051A #07061F #120F53 #1D1887 #2822BB

Accessibility & contrast

On white

17.23
#120F53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#120F53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #120F53
17.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120F53#FFFFFF#000000##FFFFFF
##120F531.0017.231.2217.23
#FFFFFF17.231.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E55
Deuteranopia (green-blind)
#001852
Tritanopia (blue-blind)
#002330
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #120f53;
/* rgb */ color: rgb(18, 15, 83);
/* oklch */ color: oklch(23.3% 0.117 274.4);
Tailwind
colors: {
  custom: {
    50: '#5c4e84',
    500: '#120f53',
    950: '#000000',
  },
}
SCSS
$custom: #120f53;
$custom-light: #5c4e84;
$custom-dark: #000000;
JSON
{
  "hex": "#120f53",
  "rgb": {
    "r": 18,
    "g": 15,
    "b": 83
  },
  "hsl": {
    "h": 242.647,
    "s": 69.388,
    "l": 19.216
  },
  "oklch": {
    "l": 0.23348,
    "c": 0.11706,
    "h": 274.4
  },
  "luminance": 0.01095
}

Semantic roles & 50–950 ramp

primary
#120F53
secondary
#898D31
accent
#EC3CE4
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05010B
muted
#79777C

Preview Lab

Preview with #120F53

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

Preview Lab → · Contrast checker → · Palette generator →

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