#122947#122947

#122947 is a dark, moderate cyan. Relative luminance 0.022; OKLCH L 27.9% C 0.063 H 255.9°. Best body text is #FFFFFF at 14.65:1 contrast (WCAG AA passes).

Color values

HEX#122947
RGBrgb(18, 41, 71)
HSLhsl(214, 60%, 17%)
HSVhsv(214, 75%, 28%)
CMYKcmyk(74.6%, 42.3%, 0%, 72.2%)
CIE-LABlab(16.35, 2.60, -21.43)
CIE-LCHlch(16.35, 21.59, 276.92°)
OKLaboklab(27.95% -0.0153 -0.0609)
OKLCHoklch(27.95% 0.063 255.9)
XYZxyz(2.1793, 2.1692, 6.2639)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122947 #473012
analogous
#124447 #122947 #151247
triadic
#122947 #471229 #294712
tetradic
#122947 #471244 #473012 #124715
square
#122947 #471244 #473012 #124715
split-complementary
#122947 #471512 #444712
monochromatic
#060E18 #060E18 #122947 #1E4578 #2B61A9

Accessibility & contrast

On white

14.65
#122947 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#122947 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122947
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122947#FFFFFF#000000##FFFFFF
##1229471.0014.651.4314.65
#FFFFFF14.651.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2B48
Deuteranopia (green-blind)
#142646
Tritanopia (blue-blind)
#003034
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #122947;
/* rgb */ color: rgb(18, 41, 71);
/* oklch */ color: oklch(27.9% 0.063 255.9);
Tailwind
colors: {
  custom: {
    50: '#57627a',
    500: '#122947',
    950: '#000000',
  },
}
SCSS
$custom: #122947;
$custom-light: #57627a;
$custom-dark: #000000;
JSON
{
  "hex": "#122947",
  "rgb": {
    "r": 18,
    "g": 41,
    "b": 71
  },
  "hsl": {
    "h": 213.962,
    "s": 59.551,
    "l": 17.451
  },
  "oklch": {
    "l": 0.27947,
    "c": 0.06283,
    "h": 255.9
  },
  "luminance": 0.02169
}

Semantic roles & 50–950 ramp

primary
#122947
secondary
#805F35
accent
#9E45E3
background
#F5F5F7
surface
#E9EAED
border
#C5C6C8
text
#030509
muted
#78797B

Preview Lab

Preview with #122947

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

Preview Lab → · Contrast checker → · Palette generator →

#122947 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva