#121051#121051

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

Color values

HEX#121051
RGBrgb(18, 16, 81)
HSLhsl(242, 67%, 19%)
HSVhsv(242, 80%, 32%)
CMYKcmyk(77.8%, 80.2%, 0%, 68.2%)
CIE-LABlab(9.74, 25.20, -39.00)
CIE-LCHlch(9.74, 46.43, 302.86°)
OKLaboklab(23.27% 0.0088 -0.1128)
OKLCHoklch(23.27% 0.113 274.5)
XYZxyz(1.9195, 1.0931, 7.8928)
Luminance0.0109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121051 #4F5110
analogous
#102F51 #121051 #331051
triadic
#121051 #511210 #105112
tetradic
#121051 #51102F #4F5110 #105133
square
#121051 #51102F #4F5110 #105133
split-complementary
#121051 #513310 #2F5110
monochromatic
#06051A #07061E #121051 #1D1A84 #2924B7

Accessibility & contrast

On white

17.23
#121051 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#121051 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##121051#FFFFFF#000000##FFFFFF
##1210511.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)
#001E53
Deuteranopia (green-blind)
#001850
Tritanopia (blue-blind)
#00232F
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #121051;
/* rgb */ color: rgb(18, 16, 81);
/* oklch */ color: oklch(23.3% 0.113 274.5);
Tailwind
colors: {
  custom: {
    50: '#5c4f83',
    500: '#121051',
    950: '#000000',
  },
}
SCSS
$custom: #121051;
$custom-light: #5c4f83;
$custom-dark: #000000;
JSON
{
  "hex": "#121051",
  "rgb": {
    "r": 18,
    "g": 16,
    "b": 81
  },
  "hsl": {
    "h": 241.846,
    "s": 67.01,
    "l": 19.02
  },
  "oklch": {
    "l": 0.23269,
    "c": 0.11314,
    "h": 274.5
  },
  "luminance": 0.01093
}

Semantic roles & 50–950 ramp

primary
#121051
secondary
#888B32
accent
#EA3EE5
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #121051

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

Preview Lab → · Contrast checker → · Palette generator →

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