#122D3F#122D3F

#122D3F is a dark, muted cyan. Relative luminance 0.024; OKLCH L 28.5% C 0.047 H 240.3°. Best body text is #FFFFFF at 14.26:1 contrast (WCAG AA passes).

Color values

HEX#122D3F
RGBrgb(18, 45, 63)
HSLhsl(204, 56%, 16%)
HSVhsv(204, 71%, 25%)
CMYKcmyk(71.4%, 28.6%, 0%, 75.3%)
CIE-LABlab(17.29, -3.54, -14.45)
CIE-LCHlch(17.29, 14.88, 256.23°)
OKLaboklab(28.53% -0.0231 -0.0406)
OKLCHoklch(28.53% 0.047 240.3)
XYZxyz(2.0847, 2.3640, 5.0481)
Luminance0.0236 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122D3F #3F2412
analogous
#123F3A #122D3F #12163F
triadic
#122D3F #3F122D #2D3F12
tetradic
#122D3F #3A123F #3F2412 #163F12
square
#122D3F #3A123F #3F2412 #163F12
split-complementary
#122D3F #3F1216 #3F3A12
monochromatic
#071118 #071118 #122D3F #204F6F #2D719E

Accessibility & contrast

On white

14.26
#122D3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#122D3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122D3F
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122D3F#FFFFFF#000000##FFFFFF
##122D3F1.0014.261.4714.26
#FFFFFF14.261.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252D40
Deuteranopia (green-blind)
#1F293F
Tritanopia (blue-blind)
#003133
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #122d3f;
/* rgb */ color: rgb(18, 45, 63);
/* oklch */ color: oklch(28.5% 0.047 240.3);
Tailwind
colors: {
  custom: {
    50: '#556574',
    500: '#122d3f',
    950: '#000000',
  },
}
SCSS
$custom: #122d3f;
$custom-light: #556574;
$custom-dark: #000000;
JSON
{
  "hex": "#122d3f",
  "rgb": {
    "r": 18,
    "g": 45,
    "b": 63
  },
  "hsl": {
    "h": 204,
    "s": 55.556,
    "l": 15.882
  },
  "oklch": {
    "l": 0.28534,
    "c": 0.0467,
    "h": 240.3
  },
  "luminance": 0.02364
}

Semantic roles & 50–950 ramp

primary
#122D3F
secondary
#785035
accent
#8549DF
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#030508
muted
#787A7B

Preview Lab

Preview with #122D3F

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

Preview Lab → · Contrast checker → · Palette generator →

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