#122F3F#122F3F

#122F3F is a dark, muted cyan. Relative luminance 0.025; OKLCH L 29.1% C 0.045 H 235.5°. Best body text is #FFFFFF at 13.96:1 contrast (WCAG AA passes).

Color values

HEX#122F3F
RGBrgb(18, 47, 63)
HSLhsl(201, 56%, 16%)
HSVhsv(201, 71%, 25%)
CMYKcmyk(71.4%, 25.4%, 0%, 75.3%)
CIE-LABlab(18.01, -4.91, -13.33)
CIE-LCHlch(18.01, 14.21, 249.79°)
OKLaboklab(29.1% -0.0257 -0.0374)
OKLCHoklch(29.1% 0.045 235.5)
XYZxyz(2.1628, 2.5203, 5.0741)
Luminance0.0252 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122F3F #3F2212
analogous
#123F38 #122F3F #12183F
triadic
#122F3F #3F122F #2F3F12
tetradic
#122F3F #38123F #3F2212 #183F12
square
#122F3F #38123F #3F2212 #183F12
split-complementary
#122F3F #3F1218 #3F3812
monochromatic
#071218 #071218 #122F3F #20536F #2D769E

Accessibility & contrast

On white

13.96
#122F3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#122F3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122F3F
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122F3F#FFFFFF#000000##FFFFFF
##122F3F1.0013.961.5013.96
#FFFFFF13.961.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272F40
Deuteranopia (green-blind)
#212A3F
Tritanopia (blue-blind)
#003334
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #122f3f;
/* rgb */ color: rgb(18, 47, 63);
/* oklch */ color: oklch(29.1% 0.045 235.5);
Tailwind
colors: {
  custom: {
    50: '#556774',
    500: '#122f3f',
    950: '#000000',
  },
}
SCSS
$custom: #122f3f;
$custom-light: #556774;
$custom-dark: #000000;
JSON
{
  "hex": "#122f3f",
  "rgb": {
    "r": 18,
    "g": 47,
    "b": 63
  },
  "hsl": {
    "h": 201.333,
    "s": 55.556,
    "l": 15.882
  },
  "oklch": {
    "l": 0.29103,
    "c": 0.04536,
    "h": 235.5
  },
  "luminance": 0.02521
}

Semantic roles & 50–950 ramp

primary
#122F3F
secondary
#784D35
accent
#7E49DF
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#030608
muted
#787A7B

Preview Lab

Preview with #122F3F

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

Preview Lab → · Contrast checker → · Palette generator →

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