#122A4B#122A4B

#122A4B is a dark, moderate cyan. Relative luminance 0.023; OKLCH L 28.5% C 0.068 H 256.9°. Best body text is #FFFFFF at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#122A4B
RGBrgb(18, 42, 75)
HSLhsl(215, 61%, 18%)
HSVhsv(215, 76%, 29%)
CMYKcmyk(76%, 44%, 0%, 70.6%)
CIE-LABlab(16.95, 3.57, -23.21)
CIE-LCHlch(16.95, 23.48, 278.73°)
OKLaboklab(28.5% -0.0154 -0.0661)
OKLCHoklch(28.5% 0.068 256.9)
XYZxyz(2.3470, 2.2923, 6.9740)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122A4B #4B3312
analogous
#12464B #122A4B #16124B
triadic
#122A4B #4B122A #2A4B12
tetradic
#122A4B #4B1246 #4B3312 #124B16
square
#122A4B #4B1246 #4B3312 #124B16
split-complementary
#122A4B #4B1612 #464B12
monochromatic
#060E19 #060E1A #122A4B #1E467C #2A61AE

Accessibility & contrast

On white

14.40
#122A4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#122A4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122A4B
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122A4B#FFFFFF#000000##FFFFFF
##122A4B1.0014.401.4614.40
#FFFFFF14.401.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2D4C
Deuteranopia (green-blind)
#12274A
Tritanopia (blue-blind)
#003236
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #122a4b;
/* rgb */ color: rgb(18, 42, 75);
/* oklch */ color: oklch(28.5% 0.068 256.9);
Tailwind
colors: {
  custom: {
    50: '#58637d',
    500: '#122a4b',
    950: '#000000',
  },
}
SCSS
$custom: #122a4b;
$custom-light: #58637d;
$custom-dark: #000000;
JSON
{
  "hex": "#122a4b",
  "rgb": {
    "r": 18,
    "g": 42,
    "b": 75
  },
  "hsl": {
    "h": 214.737,
    "s": 61.29,
    "l": 18.235
  },
  "oklch": {
    "l": 0.28498,
    "c": 0.06789,
    "h": 256.9
  },
  "luminance": 0.02293
}

Semantic roles & 50–950 ramp

primary
#122A4B
secondary
#846335
accent
#A143E4
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#040509
muted
#79797B

Preview Lab

Preview with #122A4B

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

Preview Lab → · Contrast checker → · Palette generator →

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