#120F48#120F48

#120F48 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 22.0% C 0.101 H 276.4°. Best body text is #FFFFFF at 17.68:1 contrast (WCAG AA passes).

Color values

HEX#120F48
RGBrgb(18, 15, 72)
HSLhsl(243, 66%, 17%)
HSVhsv(243, 79%, 28%)
CMYKcmyk(75%, 79.2%, 0%, 71.8%)
CIE-LABlab(8.46, 22.42, -34.88)
CIE-LCHlch(8.46, 41.46, 302.73°)
OKLaboklab(22.04% 0.0114 -0.1008)
OKLCHoklch(22.04% 0.101 276.4)
XYZxyz(1.5896, 0.9380, 6.2269)
Luminance0.0094 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120F48 #45480F
analogous
#0F2948 #120F48 #2F0F48
triadic
#120F48 #48120F #0F4812
tetradic
#120F48 #480F29 #45480F #0F482F
square
#120F48 #480F29 #45480F #0F482F
split-complementary
#120F48 #482F0F #29480F
monochromatic
#060519 #060519 #120F48 #1F1A7B #2B24AD

Accessibility & contrast

On white

17.68
#120F48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#120F48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #120F48
17.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120F48#FFFFFF#000000##FFFFFF
##120F481.0017.681.1917.68
#FFFFFF17.681.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B4A
Deuteranopia (green-blind)
#001647
Tritanopia (blue-blind)
#001F2A
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #120f48;
/* rgb */ color: rgb(18, 15, 72);
/* oklch */ color: oklch(22.0% 0.101 276.4);
Tailwind
colors: {
  custom: {
    50: '#594e7c',
    500: '#120f48',
    950: '#000000',
  },
}
SCSS
$custom: #120f48;
$custom-light: #594e7c;
$custom-dark: #000000;
JSON
{
  "hex": "#120f48",
  "rgb": {
    "r": 18,
    "g": 15,
    "b": 72
  },
  "hsl": {
    "h": 243.158,
    "s": 65.517,
    "l": 17.059
  },
  "oklch": {
    "l": 0.22044,
    "c": 0.10139,
    "h": 276.4
  },
  "luminance": 0.00938
}

Semantic roles & 50–950 ramp

primary
#120F48
secondary
#7E8230
accent
#E83FE0
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040109
muted
#79777B

Preview Lab

Preview with #120F48

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

Preview Lab → · Contrast checker → · Palette generator →

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