#122A2F#122A2F

#122A2F is a dark, muted cyan. Relative luminance 0.020; OKLCH L 26.8% C 0.031 H 212.8°. Best body text is #FFFFFF at 15.02:1 contrast (WCAG AA passes).

Color values

HEX#122A2F
RGBrgb(18, 42, 47)
HSLhsl(190, 45%, 13%)
HSVhsv(190, 62%, 18%)
CMYKcmyk(61.7%, 10.6%, 0%, 81.6%)
CIE-LABlab(15.43, -7.60, -6.14)
CIE-LCHlch(15.43, 9.77, 218.92°)
OKLaboklab(26.8% -0.0263 -0.017)
OKLCHoklch(26.8% 0.031 212.8)
XYZxyz(1.5903, 1.9896, 2.9890)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122A2F #2F1712
analogous
#122F25 #122A2F #121B2F
triadic
#122A2F #2F122A #2A2F12
tetradic
#122A2F #25122F #2F1712 #1B2F12
square
#122A2F #25122F #2F1712 #1B2F12
split-complementary
#122A2F #2F121B #2F2512
monochromatic
#081416 #081416 #122A2F #23525B #347988

Accessibility & contrast

On white

15.02
#122A2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#122A2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122A2F
15.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122A2F#FFFFFF#000000##FFFFFF
##122A2F1.0015.021.4015.02
#FFFFFF15.021.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26292F
Deuteranopia (green-blind)
#22252F
Tritanopia (blue-blind)
#022C2C
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #122a2f;
/* rgb */ color: rgb(18, 42, 47);
/* oklch */ color: oklch(26.8% 0.031 212.8);
Tailwind
colors: {
  custom: {
    50: '#536367',
    500: '#122a2f',
    950: '#000000',
  },
}
SCSS
$custom: #122a2f;
$custom-light: #536367;
$custom-dark: #000000;
JSON
{
  "hex": "#122a2f",
  "rgb": {
    "r": 18,
    "g": 42,
    "b": 47
  },
  "hsl": {
    "h": 190.345,
    "s": 44.615,
    "l": 12.745
  },
  "oklch": {
    "l": 0.26801,
    "c": 0.03129,
    "h": 212.8
  },
  "luminance": 0.0199
}

Semantic roles & 50–950 ramp

primary
#122A2F
secondary
#673E36
accent
#6A53D4
background
#F4F5F6
surface
#E7EAEB
border
#C3C6C6
text
#020506
muted
#78797A

Preview Lab

Preview with #122A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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