#122C6F#122C6F

#122C6F is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.0% C 0.121 H 264.4°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#122C6F
RGBrgb(18, 44, 111)
HSLhsl(223, 72%, 25%)
HSVhsv(223, 84%, 44%)
CMYKcmyk(83.8%, 60.4%, 0%, 56.5%)
CIE-LABlab(20.35, 17.50, -41.57)
CIE-LCHlch(20.35, 45.10, 292.83°)
OKLaboklab(31.97% -0.0118 -0.1201)
OKLCHoklch(31.97% 0.121 264.4)
XYZxyz(4.0184, 3.0772, 15.4180)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122C6F #6F5512
analogous
#125A6F #122C6F #27126F
triadic
#122C6F #6F122C #2C6F12
tetradic
#122C6F #6F125A #6F5512 #126F27
square
#122C6F #6F125A #6F5512 #126F27
split-complementary
#122C6F #6F2712 #5A6F12
monochromatic
#040A1A #09173A #122C6F #1B41A4 #2356D8

Accessibility & contrast

On white

13.00
#122C6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#122C6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122C6F
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122C6F#FFFFFF#000000##FFFFFF
##122C6F1.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003671
Deuteranopia (green-blind)
#002D6E
Tritanopia (blue-blind)
#003D49
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #122c6f;
/* rgb */ color: rgb(18, 44, 111);
/* oklch */ color: oklch(32.0% 0.121 264.4);
Tailwind
colors: {
  custom: {
    50: '#616499',
    500: '#122c6f',
    950: '#000000',
  },
}
SCSS
$custom: #122c6f;
$custom-light: #616499;
$custom-dark: #000000;
JSON
{
  "hex": "#122c6f",
  "rgb": {
    "r": 18,
    "g": 44,
    "b": 111
  },
  "hsl": {
    "h": 223.226,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.31974,
    "c": 0.12066,
    "h": 264.4
  },
  "luminance": 0.03078
}

Semantic roles & 50–950 ramp

primary
#122C6F
secondary
#A68737
accent
#BC39EF
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #122C6F

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

Preview Lab → · Contrast checker → · Palette generator →

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