#122A3F#122A3F

#122A3F is a dark, muted cyan. Relative luminance 0.021; OKLCH L 27.7% C 0.049 H 247.1°. Best body text is #FFFFFF at 14.70:1 contrast (WCAG AA passes).

Color values

HEX#122A3F
RGBrgb(18, 42, 63)
HSLhsl(208, 56%, 16%)
HSVhsv(208, 71%, 25%)
CMYKcmyk(71.4%, 33.3%, 0%, 75.3%)
CIE-LABlab(16.22, -1.44, -16.12)
CIE-LCHlch(16.22, 16.18, 264.89°)
OKLaboklab(27.69% -0.0192 -0.0454)
OKLCHoklch(27.69% 0.049 247.1)
XYZxyz(1.9743, 2.1432, 5.0113)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122A3F #3F2712
analogous
#123F3D #122A3F #12133F
triadic
#122A3F #3F122A #2A3F12
tetradic
#122A3F #3D123F #3F2712 #133F12
square
#122A3F #3D123F #3F2712 #133F12
split-complementary
#122A3F #3F1213 #3F3D12
monochromatic
#071018 #071018 #122A3F #204A6F #2D699E

Accessibility & contrast

On white

14.70
#122A3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#122A3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122A3F
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122A3F#FFFFFF#000000##FFFFFF
##122A3F1.0014.701.4314.70
#FFFFFF14.701.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212B40
Deuteranopia (green-blind)
#1B263F
Tritanopia (blue-blind)
#002F31
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #122a3f;
/* rgb */ color: rgb(18, 42, 63);
/* oklch */ color: oklch(27.7% 0.049 247.1);
Tailwind
colors: {
  custom: {
    50: '#556374',
    500: '#122a3f',
    950: '#000000',
  },
}
SCSS
$custom: #122a3f;
$custom-light: #556374;
$custom-dark: #000000;
JSON
{
  "hex": "#122a3f",
  "rgb": {
    "r": 18,
    "g": 42,
    "b": 63
  },
  "hsl": {
    "h": 208,
    "s": 55.556,
    "l": 15.882
  },
  "oklch": {
    "l": 0.27688,
    "c": 0.04933,
    "h": 247.1
  },
  "luminance": 0.02143
}

Semantic roles & 50–950 ramp

primary
#122A3F
secondary
#785435
accent
#8F49DF
background
#F5F5F7
surface
#E9EAED
border
#C5C6C8
text
#030508
muted
#78797B

Preview Lab

Preview with #122A3F

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

Preview Lab → · Contrast checker → · Palette generator →

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