#122C72#122C72

#122C72 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.3% C 0.125 H 264.7°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#122C72
RGBrgb(18, 44, 114)
HSLhsl(224, 73%, 26%)
HSVhsv(224, 84%, 45%)
CMYKcmyk(84.2%, 61.4%, 0%, 55.3%)
CIE-LABlab(20.61, 18.76, -43.07)
CIE-LCHlch(20.61, 46.98, 293.54°)
OKLaboklab(32.25% -0.0116 -0.1245)
OKLCHoklch(32.25% 0.125 264.7)
XYZxyz(4.1863, 3.1444, 16.3026)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122C72 #725812
analogous
#125C72 #122C72 #281272
triadic
#122C72 #72122C #2C7212
tetradic
#122C72 #72125C #725812 #127228
square
#122C72 #72125C #725812 #127228
split-complementary
#122C72 #722812 #5C7212
monochromatic
#040A1A #0A183D #122C72 #1A40A7 #2355DC

Accessibility & contrast

On white

12.89
#122C72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #122C72
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122C72#FFFFFF#000000##FFFFFF
##122C721.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003674
Deuteranopia (green-blind)
#002D71
Tritanopia (blue-blind)
#003E4A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #122c72;
/* rgb */ color: rgb(18, 44, 114);
/* oklch */ color: oklch(32.3% 0.125 264.7);
Tailwind
colors: {
  custom: {
    50: '#62649b',
    500: '#122c72',
    950: '#000000',
  },
}
SCSS
$custom: #122c72;
$custom-light: #62649b;
$custom-dark: #000000;
JSON
{
  "hex": "#122c72",
  "rgb": {
    "r": 18,
    "g": 44,
    "b": 114
  },
  "hsl": {
    "h": 223.75,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.32253,
    "c": 0.12504,
    "h": 264.7
  },
  "luminance": 0.03145
}

Semantic roles & 50–950 ramp

primary
#122C72
secondary
#A98A37
accent
#BE38EF
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #122C72

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

Preview Lab → · Contrast checker → · Palette generator →

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