#122F40#122F40

#122F40 is a dark, muted cyan. Relative luminance 0.025; OKLCH L 29.2% C 0.047 H 237.1°. Best body text is #FFFFFF at 13.94:1 contrast (WCAG AA passes).

Color values

HEX#122F40
RGBrgb(18, 47, 64)
HSLhsl(202, 56%, 16%)
HSVhsv(202, 72%, 25%)
CMYKcmyk(71.9%, 26.6%, 0%, 74.9%)
CIE-LABlab(18.06, -4.51, -13.94)
CIE-LCHlch(18.06, 14.65, 252.06°)
OKLaboklab(29.16% -0.0253 -0.0391)
OKLCHoklch(29.16% 0.047 237.1)
XYZxyz(2.1910, 2.5316, 5.2227)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122F40 #402312
analogous
#12403A #122F40 #121840
triadic
#122F40 #40122F #2F4012
tetradic
#122F40 #3A1240 #402312 #184012
square
#122F40 #3A1240 #402312 #184012
split-complementary
#122F40 #401218 #403A12
monochromatic
#071218 #071218 #122F40 #1F5270 #2D75A0

Accessibility & contrast

On white

13.94
#122F40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #122F40
13.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122F40#FFFFFF#000000##FFFFFF
##122F401.0013.941.5113.94
#FFFFFF13.941.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272F41
Deuteranopia (green-blind)
#212A40
Tritanopia (blue-blind)
#003335
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #122f40;
/* rgb */ color: rgb(18, 47, 64);
/* oklch */ color: oklch(29.2% 0.047 237.1);
Tailwind
colors: {
  custom: {
    50: '#566775',
    500: '#122f40',
    950: '#000000',
  },
}
SCSS
$custom: #122f40;
$custom-light: #566775;
$custom-dark: #000000;
JSON
{
  "hex": "#122f40",
  "rgb": {
    "r": 18,
    "g": 47,
    "b": 64
  },
  "hsl": {
    "h": 202.174,
    "s": 56.098,
    "l": 16.078
  },
  "oklch": {
    "l": 0.2916,
    "c": 0.04658,
    "h": 237.1
  },
  "luminance": 0.02532
}

Semantic roles & 50–950 ramp

primary
#122F40
secondary
#794E35
accent
#8048DF
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#030608
muted
#787A7B

Preview Lab

Preview with #122F40

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

Preview Lab → · Contrast checker → · Palette generator →

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