#122D42#122D42

#122D42 is a dark, muted cyan. Relative luminance 0.024; OKLCH L 28.7% C 0.051 H 244.4°. Best body text is #FFFFFF at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#122D42
RGBrgb(18, 45, 66)
HSLhsl(206, 57%, 16%)
HSVhsv(206, 73%, 26%)
CMYKcmyk(72.7%, 31.8%, 0%, 74.1%)
CIE-LABlab(17.45, -2.33, -16.26)
CIE-LCHlch(17.45, 16.43, 261.83°)
OKLaboklab(28.71% -0.0219 -0.0458)
OKLCHoklch(28.71% 0.051 244.4)
XYZxyz(2.1708, 2.3985, 5.5018)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122D42 #422712
analogous
#12423F #122D42 #121542
triadic
#122D42 #42122D #2D4212
tetradic
#122D42 #3F1242 #422712 #154212
square
#122D42 #3F1242 #422712 #154212
split-complementary
#122D42 #421215 #423F12
monochromatic
#071018 #071018 #122D42 #1F4E72 #2C6FA2

Accessibility & contrast

On white

14.19
#122D42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#122D42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122D42
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122D42#FFFFFF#000000##FFFFFF
##122D421.0014.191.4814.19
#FFFFFF14.191.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242D43
Deuteranopia (green-blind)
#1D2942
Tritanopia (blue-blind)
#003234
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #122d42;
/* rgb */ color: rgb(18, 45, 66);
/* oklch */ color: oklch(28.7% 0.051 244.4);
Tailwind
colors: {
  custom: {
    50: '#566576',
    500: '#122d42',
    950: '#000000',
  },
}
SCSS
$custom: #122d42;
$custom-light: #566576;
$custom-dark: #000000;
JSON
{
  "hex": "#122d42",
  "rgb": {
    "r": 18,
    "g": 45,
    "b": 66
  },
  "hsl": {
    "h": 206.25,
    "s": 57.143,
    "l": 16.471
  },
  "oklch": {
    "l": 0.28714,
    "c": 0.0508,
    "h": 244.4
  },
  "luminance": 0.02399
}

Semantic roles & 50–950 ramp

primary
#122D42
secondary
#7B5435
accent
#8A47E0
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#030508
muted
#787A7B

Preview Lab

Preview with #122D42

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

Preview Lab → · Contrast checker → · Palette generator →

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