#122C76#122C76

#122C76 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.6% C 0.131 H 265.0°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#122C76
RGBrgb(18, 44, 118)
HSLhsl(224, 74%, 27%)
HSVhsv(224, 85%, 46%)
CMYKcmyk(84.7%, 62.7%, 0%, 53.7%)
CIE-LABlab(20.97, 20.43, -45.06)
CIE-LCHlch(20.97, 49.47, 294.40°)
OKLaboklab(32.63% -0.0115 -0.1303)
OKLCHoklch(32.63% 0.131 265)
XYZxyz(4.4190, 3.2374, 17.5280)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122C76 #765C12
analogous
#125E76 #122C76 #2A1276
triadic
#122C76 #76122C #2C7612
tetradic
#122C76 #76125E #765C12 #12762A
square
#122C76 #76125E #765C12 #12762A
split-complementary
#122C76 #762A12 #5E7612
monochromatic
#040A1B #0A1841 #122C76 #1A40AB #2555DE

Accessibility & contrast

On white

12.75
#122C76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#122C76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122C76
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122C76#FFFFFF#000000##FFFFFF
##122C761.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003778
Deuteranopia (green-blind)
#002E75
Tritanopia (blue-blind)
#003F4C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #122c76;
/* rgb */ color: rgb(18, 44, 118);
/* oklch */ color: oklch(32.6% 0.131 265.0);
Tailwind
colors: {
  custom: {
    50: '#63649e',
    500: '#122c76',
    950: '#000000',
  },
}
SCSS
$custom: #122c76;
$custom-light: #63649e;
$custom-dark: #000000;
JSON
{
  "hex": "#122c76",
  "rgb": {
    "r": 18,
    "g": 44,
    "b": 118
  },
  "hsl": {
    "h": 224.4,
    "s": 73.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.32632,
    "c": 0.13081,
    "h": 265
  },
  "luminance": 0.03238
}

Semantic roles & 50–950 ramp

primary
#122C76
secondary
#AD8E37
accent
#C038F0
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #122C76

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

Preview Lab → · Contrast checker → · Palette generator →

#122C76 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva