#122B42#122B42

#122B42 is a dark, muted cyan. Relative luminance 0.022; OKLCH L 28.2% C 0.053 H 248.4°. Best body text is #FFFFFF at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#122B42
RGBrgb(18, 43, 66)
HSLhsl(209, 57%, 16%)
HSVhsv(209, 73%, 26%)
CMYKcmyk(72.7%, 34.8%, 0%, 74.1%)
CIE-LABlab(16.75, -0.93, -17.37)
CIE-LCHlch(16.75, 17.39, 266.95°)
OKLaboklab(28.16% -0.0194 -0.0491)
OKLCHoklch(28.16% 0.053 248.4)
XYZxyz(2.0963, 2.2495, 5.4769)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122B42 #422912
analogous
#124241 #122B42 #121342
triadic
#122B42 #42122B #2B4212
tetradic
#122B42 #411242 #422912 #134212
square
#122B42 #411242 #422912 #134212
split-complementary
#122B42 #421213 #424112
monochromatic
#071018 #071018 #122B42 #1F4A72 #2C6AA2

Accessibility & contrast

On white

14.48
#122B42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#122B42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122B42
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122B42#FFFFFF#000000##FFFFFF
##122B421.0014.481.4514.48
#FFFFFF14.481.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212C43
Deuteranopia (green-blind)
#1A2742
Tritanopia (blue-blind)
#003033
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #122b42;
/* rgb */ color: rgb(18, 43, 66);
/* oklch */ color: oklch(28.2% 0.053 248.4);
Tailwind
colors: {
  custom: {
    50: '#566476',
    500: '#122b42',
    950: '#000000',
  },
}
SCSS
$custom: #122b42;
$custom-light: #566476;
$custom-dark: #000000;
JSON
{
  "hex": "#122b42",
  "rgb": {
    "r": 18,
    "g": 43,
    "b": 66
  },
  "hsl": {
    "h": 208.75,
    "s": 57.143,
    "l": 16.471
  },
  "oklch": {
    "l": 0.28157,
    "c": 0.05275,
    "h": 248.4
  },
  "luminance": 0.0225
}

Semantic roles & 50–950 ramp

primary
#122B42
secondary
#7B5635
accent
#9147E0
background
#F5F5F7
surface
#E9EAED
border
#C5C6C8
text
#030508
muted
#78797B

Preview Lab

Preview with #122B42

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

Preview Lab → · Contrast checker → · Palette generator →

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