#122071#122071

#122071 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 29.7% C 0.139 H 268.1°. Best body text is #FFFFFF at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#122071
RGBrgb(18, 32, 113)
HSLhsl(231, 73%, 26%)
HSVhsv(231, 84%, 44%)
CMYKcmyk(84.1%, 71.7%, 0%, 55.7%)
CIE-LABlab(17.24, 26.86, -47.95)
CIE-LCHlch(17.24, 54.97, 299.26°)
OKLaboklab(29.74% -0.0045 -0.1389)
OKLCHoklch(29.74% 0.139 268.1)
XYZxyz(3.7456, 2.3534, 15.8764)
Luminance0.0235 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122071 #716312
analogous
#124F71 #122071 #331271
triadic
#122071 #711220 #207112
tetradic
#122071 #71124F #716312 #127133
square
#122071 #71124F #716312 #127133
split-complementary
#122071 #713312 #4F7112
monochromatic
#04071A #0A113C #122071 #1A2FA6 #233EDB

Accessibility & contrast

On white

14.28
#122071 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#122071 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122071
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122071#FFFFFF#000000##FFFFFF
##1220711.0014.281.4714.28
#FFFFFF14.281.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F73
Deuteranopia (green-blind)
#002670
Tritanopia (blue-blind)
#003645
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #122071;
/* rgb */ color: rgb(18, 32, 113);
/* oklch */ color: oklch(29.7% 0.139 268.1);
Tailwind
colors: {
  custom: {
    50: '#635b9b',
    500: '#122071',
    950: '#000000',
  },
}
SCSS
$custom: #122071;
$custom-light: #635b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#122071",
  "rgb": {
    "r": 18,
    "g": 32,
    "b": 113
  },
  "hsl": {
    "h": 231.158,
    "s": 72.519,
    "l": 25.686
  },
  "oklch": {
    "l": 0.29735,
    "c": 0.13898,
    "h": 268.1
  },
  "luminance": 0.02354
}

Semantic roles & 50–950 ramp

primary
#122071
secondary
#A89737
accent
#D439EF
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #122071

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

Preview Lab → · Contrast checker → · Palette generator →

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