#122C73#122C73

#122C73 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.3% C 0.126 H 264.8°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#122C73
RGBrgb(18, 44, 115)
HSLhsl(224, 73%, 26%)
HSVhsv(224, 84%, 45%)
CMYKcmyk(84.3%, 61.7%, 0%, 54.9%)
CIE-LABlab(20.70, 19.18, -43.57)
CIE-LCHlch(20.70, 47.61, 293.76°)
OKLaboklab(32.35% -0.0116 -0.126)
OKLCHoklch(32.35% 0.126 264.8)
XYZxyz(4.2436, 3.1673, 16.6040)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122C73 #735912
analogous
#125C73 #122C73 #291273
triadic
#122C73 #73122C #2C7312
tetradic
#122C73 #73125C #735912 #127329
square
#122C73 #73125C #735912 #127329
split-complementary
#122C73 #732912 #5C7312
monochromatic
#040A1A #0A183E #122C73 #1A40A8 #2355DD

Accessibility & contrast

On white

12.86
#122C73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#122C73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122C73
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122C73#FFFFFF#000000##FFFFFF
##122C731.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003675
Deuteranopia (green-blind)
#002D72
Tritanopia (blue-blind)
#003E4B
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #122c73;
/* rgb */ color: rgb(18, 44, 115);
/* oklch */ color: oklch(32.3% 0.126 264.8);
Tailwind
colors: {
  custom: {
    50: '#63649c',
    500: '#122c73',
    950: '#000000',
  },
}
SCSS
$custom: #122c73;
$custom-light: #63649c;
$custom-dark: #000000;
JSON
{
  "hex": "#122c73",
  "rgb": {
    "r": 18,
    "g": 44,
    "b": 115
  },
  "hsl": {
    "h": 223.918,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.32347,
    "c": 0.12649,
    "h": 264.8
  },
  "luminance": 0.03168
}

Semantic roles & 50–950 ramp

primary
#122C73
secondary
#AA8B37
accent
#BE38F0
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #122C73

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

Preview Lab → · Contrast checker → · Palette generator →

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