#122F57#122F57

#122F57 is a dark, moderate cyan. Relative luminance 0.029; OKLCH L 30.7% C 0.080 H 257.2°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#122F57
RGBrgb(18, 47, 87)
HSLhsl(215, 66%, 21%)
HSVhsv(215, 79%, 34%)
CMYKcmyk(79.3%, 46%, 0%, 65.9%)
CIE-LABlab(19.43, 5.04, -27.33)
CIE-LCHlch(19.43, 27.79, 280.46°)
OKLaboklab(30.68% -0.0178 -0.0781)
OKLCHoklch(30.68% 0.08 257.2)
XYZxyz(2.9856, 2.8494, 9.4076)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122F57 #573A12
analogous
#125157 #122F57 #181257
triadic
#122F57 #57122F #2F5712
tetradic
#122F57 #571251 #573A12 #125718
square
#122F57 #571251 #573A12 #125718
split-complementary
#122F57 #571812 #515712
monochromatic
#050E19 #081424 #122F57 #1C4A8A #2766BC

Accessibility & contrast

On white

13.38
#122F57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #122F57
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122F57#FFFFFF#000000##FFFFFF
##122F571.0013.381.5713.38
#FFFFFF13.381.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3359
Deuteranopia (green-blind)
#0F2C56
Tritanopia (blue-blind)
#00383E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #122f57;
/* rgb */ color: rgb(18, 47, 87);
/* oklch */ color: oklch(30.7% 0.080 257.2);
Tailwind
colors: {
  custom: {
    50: '#5b6787',
    500: '#122f57',
    950: '#000000',
  },
}
SCSS
$custom: #122f57;
$custom-light: #5b6787;
$custom-dark: #000000;
JSON
{
  "hex": "#122f57",
  "rgb": {
    "r": 18,
    "g": 47,
    "b": 87
  },
  "hsl": {
    "h": 214.783,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.30682,
    "c": 0.08014,
    "h": 257.2
  },
  "luminance": 0.0285
}

Semantic roles & 50–950 ramp

primary
#122F57
secondary
#906A35
accent
#A13FE9
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060B
muted
#797A7C

Preview Lab

Preview with #122F57

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

Preview Lab → · Contrast checker → · Palette generator →

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