#122F54#122F54

#122F54 is a dark, moderate cyan. Relative luminance 0.028; OKLCH L 30.5% C 0.076 H 255.8°. Best body text is #FFFFFF at 13.46:1 contrast (WCAG AA passes).

Color values

HEX#122F54
RGBrgb(18, 47, 84)
HSLhsl(214, 65%, 20%)
HSVhsv(214, 79%, 33%)
CMYKcmyk(78.6%, 44%, 0%, 67.1%)
CIE-LABlab(19.23, 3.76, -25.65)
CIE-LCHlch(19.23, 25.92, 278.35°)
OKLaboklab(30.46% -0.0185 -0.0732)
OKLCHoklch(30.46% 0.076 255.8)
XYZxyz(2.8656, 2.8014, 8.7755)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122F54 #543712
analogous
#125054 #122F54 #161254
triadic
#122F54 #54122F #2F5412
tetradic
#122F54 #541250 #543712 #125416
square
#122F54 #541250 #543712 #125416
split-complementary
#122F54 #541612 #505412
monochromatic
#050E19 #071322 #122F54 #1D4B86 #2867B9

Accessibility & contrast

On white

13.46
#122F54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#122F54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122F54
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122F54#FFFFFF#000000##FFFFFF
##122F541.0013.461.5613.46
#FFFFFF13.461.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3255
Deuteranopia (green-blind)
#132C53
Tritanopia (blue-blind)
#00383D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #122f54;
/* rgb */ color: rgb(18, 47, 84);
/* oklch */ color: oklch(30.5% 0.076 255.8);
Tailwind
colors: {
  custom: {
    50: '#5a6784',
    500: '#122f54',
    950: '#000000',
  },
}
SCSS
$custom: #122f54;
$custom-light: #5a6784;
$custom-dark: #000000;
JSON
{
  "hex": "#122f54",
  "rgb": {
    "r": 18,
    "g": 47,
    "b": 84
  },
  "hsl": {
    "h": 213.636,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.30462,
    "c": 0.07551,
    "h": 255.8
  },
  "luminance": 0.02802
}

Semantic roles & 50–950 ramp

primary
#122F54
secondary
#8D6635
accent
#9E40E8
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060B
muted
#797A7C

Preview Lab

Preview with #122F54

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

Preview Lab → · Contrast checker → · Palette generator →

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