#122238#122238

#122238 is a dark, muted cyan. Relative luminance 0.016; OKLCH L 25.0% C 0.047 H 256.6°. Best body text is #FFFFFF at 16.01:1 contrast (WCAG AA passes).

Color values

HEX#122238
RGBrgb(18, 34, 56)
HSLhsl(215, 51%, 15%)
HSVhsv(215, 68%, 22%)
CMYKcmyk(67.9%, 39.3%, 0%, 78%)
CIE-LABlab(12.97, 1.50, -16.31)
CIE-LCHlch(12.97, 16.38, 275.27°)
OKLaboklab(25.01% -0.0109 -0.0461)
OKLCHoklch(25.01% 0.047 256.6)
XYZxyz(1.5350, 1.5580, 3.9605)
Luminance0.0156 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122238 #382812
analogous
#123538 #122238 #151238
triadic
#122238 #381222 #223812
tetradic
#122238 #381235 #382812 #123815
square
#122238 #381235 #382812 #123815
split-complementary
#122238 #381512 #353812
monochromatic
#070E17 #070E17 #122238 #213E66 #305A95

Accessibility & contrast

On white

16.01
#122238 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #122238
16.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122238#FFFFFF#000000##FFFFFF
##1222381.0016.011.3116.01
#FFFFFF16.011.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192339
Deuteranopia (green-blind)
#142038
Tritanopia (blue-blind)
#00272A
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #122238;
/* rgb */ color: rgb(18, 34, 56);
/* oklch */ color: oklch(25.0% 0.047 256.6);
Tailwind
colors: {
  custom: {
    50: '#545c6e',
    500: '#122238',
    950: '#000000',
  },
}
SCSS
$custom: #122238;
$custom-light: #545c6e;
$custom-dark: #000000;
JSON
{
  "hex": "#122238",
  "rgb": {
    "r": 18,
    "g": 34,
    "b": 56
  },
  "hsl": {
    "h": 214.737,
    "s": 51.351,
    "l": 14.51
  },
  "oklch": {
    "l": 0.25006,
    "c": 0.04737,
    "h": 256.6
  },
  "luminance": 0.01558
}

Semantic roles & 50–950 ramp

primary
#122238
secondary
#715835
accent
#9F4DDB
background
#F4F5F6
surface
#E8E9EC
border
#C4C5C7
text
#030407
muted
#78797A

Preview Lab

Preview with #122238

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

Preview Lab → · Contrast checker → · Palette generator →

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