#122176#122176

#122176 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.5% C 0.145 H 267.9°. Best body text is #FFFFFF at 13.96:1 contrast (WCAG AA passes).

Color values

HEX#122176
RGBrgb(18, 33, 118)
HSLhsl(231, 74%, 27%)
HSVhsv(231, 85%, 46%)
CMYKcmyk(84.7%, 72%, 0%, 53.7%)
CIE-LABlab(18.03, 28.15, -49.89)
CIE-LCHlch(18.03, 57.28, 299.44°)
OKLaboklab(30.46% -0.0054 -0.1445)
OKLCHoklch(30.46% 0.145 267.9)
XYZxyz(4.0622, 2.5238, 17.4091)
Luminance0.0252 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122176 #766712
analogous
#125376 #122176 #351276
triadic
#122176 #761221 #217612
tetradic
#122176 #761253 #766712 #127635
square
#122176 #761253 #766712 #127635
split-complementary
#122176 #763512 #537612
monochromatic
#04071B #0A1241 #122176 #1A30AB #2540DE

Accessibility & contrast

On white

13.96
#122176 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#122176 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122176
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122176#FFFFFF#000000##FFFFFF
##1221761.0013.961.5013.96
#FFFFFF13.961.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #122176;
/* rgb */ color: rgb(18, 33, 118);
/* oklch */ color: oklch(30.5% 0.145 267.9);
Tailwind
colors: {
  custom: {
    50: '#655c9e',
    500: '#122176',
    950: '#000000',
  },
}
SCSS
$custom: #122176;
$custom-light: #655c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#122176",
  "rgb": {
    "r": 18,
    "g": 33,
    "b": 118
  },
  "hsl": {
    "h": 231,
    "s": 73.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.30464,
    "c": 0.14464,
    "h": 267.9
  },
  "luminance": 0.02524
}

Semantic roles & 50–950 ramp

primary
#122176
secondary
#AD9B37
accent
#D538F0
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #122176

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

Preview Lab → · Contrast checker → · Palette generator →

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