#122A40#122A40

#122A40 is a dark, muted cyan. Relative luminance 0.022; OKLCH L 27.8% C 0.051 H 248.3°. Best body text is #FFFFFF at 14.68:1 contrast (WCAG AA passes).

Color values

HEX#122A40
RGBrgb(18, 42, 64)
HSLhsl(209, 56%, 16%)
HSVhsv(209, 72%, 25%)
CMYKcmyk(71.9%, 34.4%, 0%, 74.9%)
CIE-LABlab(16.28, -1.03, -16.72)
CIE-LCHlch(16.28, 16.75, 266.46°)
OKLaboklab(27.75% -0.0188 -0.0472)
OKLCHoklch(27.75% 0.051 248.3)
XYZxyz(2.0025, 2.1545, 5.1598)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122A40 #402812
analogous
#12403F #122A40 #121340
triadic
#122A40 #40122A #2A4012
tetradic
#122A40 #3F1240 #402812 #134012
square
#122A40 #3F1240 #402812 #134012
split-complementary
#122A40 #401213 #403F12
monochromatic
#071018 #071018 #122A40 #1F4970 #2D69A0

Accessibility & contrast

On white

14.68
#122A40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#122A40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122A40
14.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122A40#FFFFFF#000000##FFFFFF
##122A401.0014.681.4314.68
#FFFFFF14.681.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202B41
Deuteranopia (green-blind)
#1A2640
Tritanopia (blue-blind)
#002F32
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #122a40;
/* rgb */ color: rgb(18, 42, 64);
/* oklch */ color: oklch(27.8% 0.051 248.3);
Tailwind
colors: {
  custom: {
    50: '#556375',
    500: '#122a40',
    950: '#000000',
  },
}
SCSS
$custom: #122a40;
$custom-light: #556375;
$custom-dark: #000000;
JSON
{
  "hex": "#122a40",
  "rgb": {
    "r": 18,
    "g": 42,
    "b": 64
  },
  "hsl": {
    "h": 208.696,
    "s": 56.098,
    "l": 16.078
  },
  "oklch": {
    "l": 0.27751,
    "c": 0.0508,
    "h": 248.3
  },
  "luminance": 0.02155
}

Semantic roles & 50–950 ramp

primary
#122A40
secondary
#795535
accent
#9148DF
background
#F5F5F7
surface
#E9EAED
border
#C5C6C8
text
#030508
muted
#78797B

Preview Lab

Preview with #122A40

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

Preview Lab → · Contrast checker → · Palette generator →

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