#122841#122841

#122841 is a dark, muted cyan. Relative luminance 0.020; OKLCH L 27.3% C 0.055 H 253.0°. Best body text is #FFFFFF at 14.94:1 contrast (WCAG AA passes).

Color values

HEX#122841
RGBrgb(18, 40, 65)
HSLhsl(212, 57%, 16%)
HSVhsv(212, 72%, 25%)
CMYKcmyk(72.3%, 38.5%, 0%, 74.5%)
CIE-LABlab(15.63, 0.82, -18.43)
CIE-LCHlch(15.63, 18.45, 272.54°)
OKLaboklab(27.26% -0.0159 -0.0522)
OKLCHoklch(27.26% 0.055 253)
XYZxyz(1.9620, 2.0276, 5.2880)
Luminance0.0203 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122841 #412B12
analogous
#124041 #122841 #141241
triadic
#122841 #411228 #284112
tetradic
#122841 #411240 #412B12 #124114
square
#122841 #411240 #412B12 #124114
split-complementary
#122841 #411412 #404112
monochromatic
#070F18 #070F18 #122841 #1F4571 #2D63A1

Accessibility & contrast

On white

14.94
#122841 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#122841 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122841
14.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122841#FFFFFF#000000##FFFFFF
##1228411.0014.941.4114.94
#FFFFFF14.941.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2942
Deuteranopia (green-blind)
#172540
Tritanopia (blue-blind)
#002E31
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #122841;
/* rgb */ color: rgb(18, 40, 65);
/* oklch */ color: oklch(27.3% 0.055 253.0);
Tailwind
colors: {
  custom: {
    50: '#566175',
    500: '#122841',
    950: '#000000',
  },
}
SCSS
$custom: #122841;
$custom-light: #566175;
$custom-dark: #000000;
JSON
{
  "hex": "#122841",
  "rgb": {
    "r": 18,
    "g": 40,
    "b": 65
  },
  "hsl": {
    "h": 211.915,
    "s": 56.627,
    "l": 16.275
  },
  "oklch": {
    "l": 0.27263,
    "c": 0.05456,
    "h": 253
  },
  "luminance": 0.02028
}

Semantic roles & 50–950 ramp

primary
#122841
secondary
#7A5A35
accent
#9948E0
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030508
muted
#78797B

Preview Lab

Preview with #122841

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

Preview Lab → · Contrast checker → · Palette generator →

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