#122D40#122D40

#122D40 is a dark, muted cyan. Relative luminance 0.024; OKLCH L 28.6% C 0.048 H 241.8°. Best body text is #FFFFFF at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#122D40
RGBrgb(18, 45, 64)
HSLhsl(205, 56%, 16%)
HSVhsv(205, 72%, 25%)
CMYKcmyk(71.9%, 29.7%, 0%, 74.9%)
CIE-LABlab(17.34, -3.14, -15.06)
CIE-LCHlch(17.34, 15.38, 258.22°)
OKLaboklab(28.59% -0.0227 -0.0423)
OKLCHoklch(28.59% 0.048 241.8)
XYZxyz(2.1129, 2.3753, 5.1966)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122D40 #402512
analogous
#12403C #122D40 #121640
triadic
#122D40 #40122D #2D4012
tetradic
#122D40 #3C1240 #402512 #164012
square
#122D40 #3C1240 #402512 #164012
split-complementary
#122D40 #401216 #403C12
monochromatic
#071118 #071118 #122D40 #1F4F70 #2D70A0

Accessibility & contrast

On white

14.24
#122D40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #122D40
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122D40#FFFFFF#000000##FFFFFF
##122D401.0014.241.4814.24
#FFFFFF14.241.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #122d40;
/* rgb */ color: rgb(18, 45, 64);
/* oklch */ color: oklch(28.6% 0.048 241.8);
Tailwind
colors: {
  custom: {
    50: '#556575',
    500: '#122d40',
    950: '#000000',
  },
}
SCSS
$custom: #122d40;
$custom-light: #556575;
$custom-dark: #000000;
JSON
{
  "hex": "#122d40",
  "rgb": {
    "r": 18,
    "g": 45,
    "b": 64
  },
  "hsl": {
    "h": 204.783,
    "s": 56.098,
    "l": 16.078
  },
  "oklch": {
    "l": 0.28593,
    "c": 0.04804,
    "h": 241.8
  },
  "luminance": 0.02376
}

Semantic roles & 50–950 ramp

primary
#122D40
secondary
#795135
accent
#8748DF
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#030508
muted
#787A7B

Preview Lab

Preview with #122D40

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

Preview Lab → · Contrast checker → · Palette generator →

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