#120943#120943

#120943 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 20.5% C 0.101 H 279.6°. Best body text is #FFFFFF at 18.33:1 contrast (WCAG AA passes).

Color values

HEX#120943
RGBrgb(18, 9, 67)
HSLhsl(249, 76%, 15%)
HSVhsv(249, 87%, 26%)
CMYKcmyk(73.1%, 86.6%, 0%, 73.7%)
CIE-LABlab(6.59, 24.03, -34.44)
CIE-LCHlch(6.59, 42.00, 304.90°)
OKLaboklab(20.47% 0.017 -0.0999)
OKLCHoklch(20.47% 0.101 279.6)
XYZxyz(1.3599, 0.7291, 5.3782)
Luminance0.0073 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120943 #3A4309
analogous
#091D43 #120943 #2F0943
triadic
#120943 #431209 #094312
tetradic
#120943 #43091D #3A4309 #09432F
square
#120943 #43091D #3A4309 #09432F
split-complementary
#120943 #432F09 #1D4309
monochromatic
#07041B #07041B #120943 #201079 #2F17AF

Accessibility & contrast

On white

18.33
#120943 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#120943 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #120943
18.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120943#FFFFFF#000000##FFFFFF
##1209431.0018.331.1518.33
#FFFFFF18.331.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001745
Deuteranopia (green-blind)
#001242
Tritanopia (blue-blind)
#001A26
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #120943;
/* rgb */ color: rgb(18, 9, 67);
/* oklch */ color: oklch(20.5% 0.101 279.6);
Tailwind
colors: {
  custom: {
    50: '#584a78',
    500: '#120943',
    950: '#000000',
  },
}
SCSS
$custom: #120943;
$custom-light: #584a78;
$custom-dark: #000000;
JSON
{
  "hex": "#120943",
  "rgb": {
    "r": 18,
    "g": 9,
    "b": 67
  },
  "hsl": {
    "h": 249.31,
    "s": 76.316,
    "l": 14.902
  },
  "oklch": {
    "l": 0.20472,
    "c": 0.10132,
    "h": 279.6
  },
  "luminance": 0.00729
}

Semantic roles & 50–950 ramp

primary
#120943
secondary
#738127
accent
#F335D5
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040109
muted
#79777B

Preview Lab

Preview with #120943

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

Preview Lab → · Contrast checker → · Palette generator →

#120943 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva