#122236#122236

#122236 is a very dark, muted cyan. Relative luminance 0.015; OKLCH L 24.9% C 0.044 H 254.7°. Best body text is #FFFFFF at 16.06:1 contrast (WCAG AA passes).

Color values

HEX#122236
RGBrgb(18, 34, 54)
HSLhsl(213, 50%, 14%)
HSVhsv(213, 67%, 21%)
CMYKcmyk(66.7%, 37%, 0%, 78.8%)
CIE-LABlab(12.85, 0.69, -15.08)
CIE-LCHlch(12.85, 15.10, 272.61°)
OKLaboklab(24.87% -0.0116 -0.0425)
OKLCHoklch(24.87% 0.044 254.7)
XYZxyz(1.4871, 1.5389, 3.7080)
Luminance0.0154 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122236 #362612
analogous
#123436 #122236 #141236
triadic
#122236 #361222 #223612
tetradic
#122236 #361234 #362612 #123614
square
#122236 #361234 #362612 #123614
split-complementary
#122236 #361412 #343612
monochromatic
#080E17 #080E17 #122236 #213F64 #315C92

Accessibility & contrast

On white

16.06
#122236 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#122236 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122236
16.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122236#FFFFFF#000000##FFFFFF
##1222361.0016.061.3116.06
#FFFFFF16.061.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2337
Deuteranopia (green-blind)
#152036
Tritanopia (blue-blind)
#002729
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #122236;
/* rgb */ color: rgb(18, 34, 54);
/* oklch */ color: oklch(24.9% 0.044 254.7);
Tailwind
colors: {
  custom: {
    50: '#535c6d',
    500: '#122236',
    950: '#000000',
  },
}
SCSS
$custom: #122236;
$custom-light: #535c6d;
$custom-dark: #000000;
JSON
{
  "hex": "#122236",
  "rgb": {
    "r": 18,
    "g": 34,
    "b": 54
  },
  "hsl": {
    "h": 213.333,
    "s": 50,
    "l": 14.118
  },
  "oklch": {
    "l": 0.24874,
    "c": 0.04406,
    "h": 254.7
  },
  "luminance": 0.01539
}

Semantic roles & 50–950 ramp

primary
#122236
secondary
#6F5535
accent
#9C4EDA
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#030407
muted
#78797A

Preview Lab

Preview with #122236

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

Preview Lab → · Contrast checker → · Palette generator →

#122236 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva