#120941#120941

#120941 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 20.2% C 0.099 H 280.3°. Best body text is #FFFFFF at 18.40:1 contrast (WCAG AA passes).

Color values

HEX#120941
RGBrgb(18, 9, 65)
HSLhsl(250, 76%, 15%)
HSVhsv(250, 86%, 25%)
CMYKcmyk(72.3%, 86.2%, 0%, 74.5%)
CIE-LABlab(6.37, 23.17, -33.37)
CIE-LCHlch(6.37, 40.62, 304.78°)
OKLaboklab(20.23% 0.0176 -0.0969)
OKLCHoklch(20.23% 0.099 280.3)
XYZxyz(1.3010, 0.7055, 5.0676)
Luminance0.0071 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120941 #384109
analogous
#091C41 #120941 #2E0941
triadic
#120941 #411209 #094112
tetradic
#120941 #41091C #384109 #09412E
square
#120941 #41091C #384109 #09412E
split-complementary
#120941 #412E09 #1C4109
monochromatic
#07041B #07041B #120941 #211077 #3018AD

Accessibility & contrast

On white

18.40
#120941 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#120941 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #120941
18.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120941#FFFFFF#000000##FFFFFF
##1209411.0018.401.1418.40
#FFFFFF18.401.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001643
Deuteranopia (green-blind)
#001240
Tritanopia (blue-blind)
#001924
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #120941;
/* rgb */ color: rgb(18, 9, 65);
/* oklch */ color: oklch(20.2% 0.099 280.3);
Tailwind
colors: {
  custom: {
    50: '#584a76',
    500: '#120941',
    950: '#000000',
  },
}
SCSS
$custom: #120941;
$custom-light: #584a76;
$custom-dark: #000000;
JSON
{
  "hex": "#120941",
  "rgb": {
    "r": 18,
    "g": 9,
    "b": 65
  },
  "hsl": {
    "h": 249.643,
    "s": 75.676,
    "l": 14.51
  },
  "oklch": {
    "l": 0.20227,
    "c": 0.09851,
    "h": 280.3
  },
  "luminance": 0.00706
}

Semantic roles & 50–950 ramp

primary
#120941
secondary
#717F27
accent
#F236D4
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #120941

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

Preview Lab → · Contrast checker → · Palette generator →

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