#122F56#122F56

#122F56 is a dark, moderate cyan. Relative luminance 0.028; OKLCH L 30.6% C 0.079 H 256.7°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#122F56
RGBrgb(18, 47, 86)
HSLhsl(214, 65%, 20%)
HSVhsv(214, 79%, 34%)
CMYKcmyk(79.1%, 45.3%, 0%, 66.3%)
CIE-LABlab(19.36, 4.62, -26.77)
CIE-LCHlch(19.36, 27.17, 279.79°)
OKLaboklab(30.61% -0.018 -0.0765)
OKLCHoklch(30.61% 0.079 256.7)
XYZxyz(2.9451, 2.8332, 9.1939)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122F56 #563912
analogous
#125156 #122F56 #171256
triadic
#122F56 #56122F #2F5612
tetradic
#122F56 #561251 #563912 #125617
square
#122F56 #561251 #563912 #125617
split-complementary
#122F56 #561712 #515612
monochromatic
#050E19 #071323 #122F56 #1D4B89 #2766BB

Accessibility & contrast

On white

13.40
#122F56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#122F56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122F56
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122F56#FFFFFF#000000##FFFFFF
##122F561.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3258
Deuteranopia (green-blind)
#112C55
Tritanopia (blue-blind)
#00383E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #122f56;
/* rgb */ color: rgb(18, 47, 86);
/* oklch */ color: oklch(30.6% 0.079 256.7);
Tailwind
colors: {
  custom: {
    50: '#5a6786',
    500: '#122f56',
    950: '#000000',
  },
}
SCSS
$custom: #122f56;
$custom-light: #5a6786;
$custom-dark: #000000;
JSON
{
  "hex": "#122f56",
  "rgb": {
    "r": 18,
    "g": 47,
    "b": 86
  },
  "hsl": {
    "h": 214.412,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.30608,
    "c": 0.0786,
    "h": 256.7
  },
  "luminance": 0.02834
}

Semantic roles & 50–950 ramp

primary
#122F56
secondary
#8F6835
accent
#A03FE8
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060B
muted
#797A7C

Preview Lab

Preview with #122F56

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

Preview Lab → · Contrast checker → · Palette generator →

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