#122D4F#122D4F

#122D4F is a dark, moderate cyan. Relative luminance 0.026; OKLCH L 29.6% C 0.070 H 255.4°. Best body text is #FFFFFF at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#122D4F
RGBrgb(18, 45, 79)
HSLhsl(213, 63%, 19%)
HSVhsv(213, 77%, 31%)
CMYKcmyk(77.2%, 43%, 0%, 69%)
CIE-LABlab(18.23, 3.08, -23.88)
CIE-LCHlch(18.23, 24.08, 277.35°)
OKLaboklab(29.58% -0.0177 -0.0681)
OKLCHoklch(29.58% 0.07 255.4)
XYZxyz(2.5986, 2.5696, 7.7547)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122D4F #4F3412
analogous
#124C4F #122D4F #16124F
triadic
#122D4F #4F122D #2D4F12
tetradic
#122D4F #4F124C #4F3412 #124F16
square
#122D4F #4F124C #4F3412 #124F16
split-complementary
#122D4F #4F1612 #4C4F12
monochromatic
#060E19 #07111D #122D4F #1D4981 #2966B3

Accessibility & contrast

On white

13.87
#122D4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#122D4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122D4F
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122D4F#FFFFFF#000000##FFFFFF
##122D4F1.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3050
Deuteranopia (green-blind)
#142A4E
Tritanopia (blue-blind)
#00353A
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #122d4f;
/* rgb */ color: rgb(18, 45, 79);
/* oklch */ color: oklch(29.6% 0.070 255.4);
Tailwind
colors: {
  custom: {
    50: '#596580',
    500: '#122d4f',
    950: '#000000',
  },
}
SCSS
$custom: #122d4f;
$custom-light: #596580;
$custom-dark: #000000;
JSON
{
  "hex": "#122d4f",
  "rgb": {
    "r": 18,
    "g": 45,
    "b": 79
  },
  "hsl": {
    "h": 213.443,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.29578,
    "c": 0.07032,
    "h": 255.4
  },
  "luminance": 0.0257
}

Semantic roles & 50–950 ramp

primary
#122D4F
secondary
#886335
accent
#9D42E6
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04050A
muted
#797A7C

Preview Lab

Preview with #122D4F

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

Preview Lab → · Contrast checker → · Palette generator →

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