#121149#121149

#121149 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.5% C 0.100 H 275.5°. Best body text is #FFFFFF at 17.47:1 contrast (WCAG AA passes).

Color values

HEX#121149
RGBrgb(18, 17, 73)
HSLhsl(241, 62%, 18%)
HSVhsv(241, 77%, 29%)
CMYKcmyk(75.3%, 76.7%, 0%, 71.4%)
CIE-LABlab(9.08, 21.43, -34.57)
CIE-LCHlch(9.08, 40.67, 301.79°)
OKLaboklab(22.52% 0.0096 -0.0998)
OKLCHoklch(22.52% 0.1 275.5)
XYZxyz(1.6521, 1.0104, 6.4100)
Luminance0.0101 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121149 #484911
analogous
#112C49 #121149 #2E1149
triadic
#121149 #491211 #114912
tetradic
#121149 #49112C #484911 #11492E
square
#121149 #49112C #484911 #11492E
split-complementary
#121149 #492E11 #2C4911
monochromatic
#060619 #060619 #121149 #1E1D7B #2A28AC

Accessibility & contrast

On white

17.47
#121149 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#121149 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121149
17.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121149#FFFFFF#000000##FFFFFF
##1211491.0017.471.2017.47
#FFFFFF17.471.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4B
Deuteranopia (green-blind)
#001748
Tritanopia (blue-blind)
#00202B
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #121149;
/* rgb */ color: rgb(18, 17, 73);
/* oklch */ color: oklch(22.5% 0.100 275.5);
Tailwind
colors: {
  custom: {
    50: '#594f7c',
    500: '#121149',
    950: '#000000',
  },
}
SCSS
$custom: #121149;
$custom-light: #594f7c;
$custom-dark: #000000;
JSON
{
  "hex": "#121149",
  "rgb": {
    "r": 18,
    "g": 17,
    "b": 73
  },
  "hsl": {
    "h": 241.071,
    "s": 62.222,
    "l": 17.647
  },
  "oklch": {
    "l": 0.22518,
    "c": 0.1003,
    "h": 275.5
  },
  "luminance": 0.01011
}

Semantic roles & 50–950 ramp

primary
#121149
secondary
#818233
accent
#E543E2
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040209
muted
#79787B

Preview Lab

Preview with #121149

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

Preview Lab → · Contrast checker → · Palette generator →

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