#122A39#122A39

#122A39 is a dark, muted cyan. Relative luminance 0.021; OKLCH L 27.3% C 0.041 H 238.2°. Best body text is #FFFFFF at 14.83:1 contrast (WCAG AA passes).

Color values

HEX#122A39
RGBrgb(18, 42, 57)
HSLhsl(203, 52%, 15%)
HSVhsv(203, 68%, 22%)
CMYKcmyk(68.4%, 26.3%, 0%, 77.6%)
CIE-LABlab(15.90, -3.84, -12.45)
CIE-LCHlch(15.90, 13.02, 252.85°)
OKLaboklab(27.33% -0.0216 -0.0348)
OKLCHoklch(27.33% 0.041 238.2)
XYZxyz(1.8157, 2.0798, 4.1759)
Luminance0.0208 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122A39 #392112
analogous
#123935 #122A39 #121739
triadic
#122A39 #39122A #2A3912
tetradic
#122A39 #351239 #392112 #173912
square
#122A39 #351239 #392112 #173912
split-complementary
#122A39 #391217 #393512
monochromatic
#071117 #071117 #122A39 #214C68 #2F6F96

Accessibility & contrast

On white

14.83
#122A39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#122A39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122A39
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122A39#FFFFFF#000000##FFFFFF
##122A391.0014.831.4214.83
#FFFFFF14.831.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232A3A
Deuteranopia (green-blind)
#1E2639
Tritanopia (blue-blind)
#002E2F
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #122a39;
/* rgb */ color: rgb(18, 42, 57);
/* oklch */ color: oklch(27.3% 0.041 238.2);
Tailwind
colors: {
  custom: {
    50: '#54636f',
    500: '#122a39',
    950: '#000000',
  },
}
SCSS
$custom: #122a39;
$custom-light: #54636f;
$custom-dark: #000000;
JSON
{
  "hex": "#122a39",
  "rgb": {
    "r": 18,
    "g": 42,
    "b": 57
  },
  "hsl": {
    "h": 203.077,
    "s": 52,
    "l": 14.706
  },
  "oklch": {
    "l": 0.27329,
    "c": 0.04099,
    "h": 238.2
  },
  "luminance": 0.0208
}

Semantic roles & 50–950 ramp

primary
#122A39
secondary
#724C35
accent
#834CDB
background
#F5F5F6
surface
#E8EAEC
border
#C4C6C7
text
#030507
muted
#78797A

Preview Lab

Preview with #122A39

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

Preview Lab → · Contrast checker → · Palette generator →

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