#122D4E#122D4E

#122D4E is a dark, moderate cyan. Relative luminance 0.026; OKLCH L 29.5% C 0.069 H 254.9°. Best body text is #FFFFFF at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#122D4E
RGBrgb(18, 45, 78)
HSLhsl(213, 63%, 19%)
HSVhsv(213, 77%, 31%)
CMYKcmyk(76.9%, 42.3%, 0%, 69.4%)
CIE-LABlab(18.17, 2.66, -23.31)
CIE-LCHlch(18.17, 23.46, 276.50°)
OKLaboklab(29.51% -0.018 -0.0664)
OKLCHoklch(29.51% 0.069 254.9)
XYZxyz(2.5625, 2.5552, 7.5644)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122D4E #4E3312
analogous
#124B4E #122D4E #15124E
triadic
#122D4E #4E122D #2D4E12
tetradic
#122D4E #4E124B #4E3312 #124E15
square
#122D4E #4E124B #4E3312 #124E15
split-complementary
#122D4E #4E1512 #4B4E12
monochromatic
#060E19 #07101C #122D4E #1D4A80 #2966B1

Accessibility & contrast

On white

13.90
#122D4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #122D4E
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122D4E#FFFFFF#000000##FFFFFF
##122D4E1.0013.901.5113.90
#FFFFFF13.901.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2F4F
Deuteranopia (green-blind)
#152A4D
Tritanopia (blue-blind)
#003539
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #122d4e;
/* rgb */ color: rgb(18, 45, 78);
/* oklch */ color: oklch(29.5% 0.069 254.9);
Tailwind
colors: {
  custom: {
    50: '#586580',
    500: '#122d4e',
    950: '#000000',
  },
}
SCSS
$custom: #122d4e;
$custom-light: #586580;
$custom-dark: #000000;
JSON
{
  "hex": "#122d4e",
  "rgb": {
    "r": 18,
    "g": 45,
    "b": 78
  },
  "hsl": {
    "h": 213,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.29507,
    "c": 0.06877,
    "h": 254.9
  },
  "luminance": 0.02555
}

Semantic roles & 50–950 ramp

primary
#122D4E
secondary
#876235
accent
#9C42E6
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04050A
muted
#797A7C

Preview Lab

Preview with #122D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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