#122076#122076

#122076 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.3% C 0.146 H 268.1°. Best body text is #FFFFFF at 14.06:1 contrast (WCAG AA passes).

Color values

HEX#122076
RGBrgb(18, 32, 118)
HSLhsl(232, 74%, 27%)
HSVhsv(232, 85%, 46%)
CMYKcmyk(84.7%, 72.9%, 0%, 53.7%)
CIE-LABlab(17.78, 28.82, -50.29)
CIE-LCHlch(17.78, 57.97, 299.82°)
OKLaboklab(30.29% -0.005 -0.1457)
OKLCHoklch(30.29% 0.146 268.1)
XYZxyz(4.0348, 2.4691, 17.4000)
Luminance0.0247 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122076 #766812
analogous
#125276 #122076 #361276
triadic
#122076 #761220 #207612
tetradic
#122076 #761252 #766812 #127636
square
#122076 #761252 #766812 #127636
split-complementary
#122076 #763612 #527612
monochromatic
#04071B #0A1241 #122076 #1A2EAB #253FDE

Accessibility & contrast

On white

14.06
#122076 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#122076 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122076
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122076#FFFFFF#000000##FFFFFF
##1220761.0014.061.4914.06
#FFFFFF14.061.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003079
Deuteranopia (green-blind)
#002774
Tritanopia (blue-blind)
#003848
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #122076;
/* rgb */ color: rgb(18, 32, 118);
/* oklch */ color: oklch(30.3% 0.146 268.1);
Tailwind
colors: {
  custom: {
    50: '#655b9e',
    500: '#122076',
    950: '#000000',
  },
}
SCSS
$custom: #122076;
$custom-light: #655b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#122076",
  "rgb": {
    "r": 18,
    "g": 32,
    "b": 118
  },
  "hsl": {
    "h": 231.6,
    "s": 73.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.30285,
    "c": 0.14581,
    "h": 268.1
  },
  "luminance": 0.0247
}

Semantic roles & 50–950 ramp

primary
#122076
secondary
#AD9C37
accent
#D638F0
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #122076

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

Preview Lab → · Contrast checker → · Palette generator →

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