#122F42#122F42

#122F42 is a dark, muted cyan. Relative luminance 0.026; OKLCH L 29.3% C 0.049 H 240.1°. Best body text is #FFFFFF at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#122F42
RGBrgb(18, 47, 66)
HSLhsl(204, 57%, 16%)
HSVhsv(204, 73%, 26%)
CMYKcmyk(72.7%, 28.8%, 0%, 74.1%)
CIE-LABlab(18.16, -3.71, -15.15)
CIE-LCHlch(18.16, 15.60, 256.22°)
OKLaboklab(29.28% -0.0245 -0.0426)
OKLCHoklch(29.28% 0.049 240.1)
XYZxyz(2.2490, 2.5547, 5.5278)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122F42 #422512
analogous
#12423D #122F42 #121742
triadic
#122F42 #42122F #2F4212
tetradic
#122F42 #3D1242 #422512 #174212
square
#122F42 #3D1242 #422512 #174212
split-complementary
#122F42 #421217 #423D12
monochromatic
#071118 #071118 #122F42 #1F5172 #2C73A2

Accessibility & contrast

On white

13.90
#122F42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#122F42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122F42
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122F42#FFFFFF#000000##FFFFFF
##122F421.0013.901.5113.90
#FFFFFF13.901.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262F43
Deuteranopia (green-blind)
#202A42
Tritanopia (blue-blind)
#003435
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #122f42;
/* rgb */ color: rgb(18, 47, 66);
/* oklch */ color: oklch(29.3% 0.049 240.1);
Tailwind
colors: {
  custom: {
    50: '#566776',
    500: '#122f42',
    950: '#000000',
  },
}
SCSS
$custom: #122f42;
$custom-light: #566776;
$custom-dark: #000000;
JSON
{
  "hex": "#122f42",
  "rgb": {
    "r": 18,
    "g": 47,
    "b": 66
  },
  "hsl": {
    "h": 203.75,
    "s": 57.143,
    "l": 16.471
  },
  "oklch": {
    "l": 0.29277,
    "c": 0.04913,
    "h": 240.1
  },
  "luminance": 0.02555
}

Semantic roles & 50–950 ramp

primary
#122F42
secondary
#7B5135
accent
#8447E0
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#030608
muted
#787A7B

Preview Lab

Preview with #122F42

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

Preview Lab → · Contrast checker → · Palette generator →

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