#122F4A#122F4A

#122F4A is a dark, moderate cyan. Relative luminance 0.027; OKLCH L 29.8% C 0.060 H 249.1°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#122F4A
RGBrgb(18, 47, 74)
HSLhsl(209, 61%, 18%)
HSVhsv(209, 76%, 29%)
CMYKcmyk(75.7%, 36.5%, 0%, 71%)
CIE-LABlab(18.61, -0.45, -19.90)
CIE-LCHlch(18.61, 19.91, 268.71°)
OKLaboklab(29.77% -0.0215 -0.0564)
OKLCHoklch(29.77% 0.06 249.1)
XYZxyz(2.5015, 2.6558, 6.8580)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122F4A #4A2D12
analogous
#124A49 #122F4A #12134A
triadic
#122F4A #4A122F #2F4A12
tetradic
#122F4A #49124A #4A2D12 #134A12
square
#122F4A #49124A #4A2D12 #134A12
split-complementary
#122F4A #4A1213 #4A4912
monochromatic
#061019 #061019 #122F4A #1E4E7B #2A6EAC

Accessibility & contrast

On white

13.71
#122F4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#122F4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122F4A
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122F4A#FFFFFF#000000##FFFFFF
##122F4A1.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23304B
Deuteranopia (green-blind)
#1B2B49
Tritanopia (blue-blind)
#003539
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #122f4a;
/* rgb */ color: rgb(18, 47, 74);
/* oklch */ color: oklch(29.8% 0.060 249.1);
Tailwind
colors: {
  custom: {
    50: '#58677c',
    500: '#122f4a',
    950: '#000000',
  },
}
SCSS
$custom: #122f4a;
$custom-light: #58677c;
$custom-dark: #000000;
JSON
{
  "hex": "#122f4a",
  "rgb": {
    "r": 18,
    "g": 47,
    "b": 74
  },
  "hsl": {
    "h": 208.929,
    "s": 60.87,
    "l": 18.039
  },
  "oklch": {
    "l": 0.29773,
    "c": 0.06036,
    "h": 249.1
  },
  "luminance": 0.02656
}

Semantic roles & 50–950 ramp

primary
#122F4A
secondary
#835B35
accent
#9144E4
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#040609
muted
#797A7B

Preview Lab

Preview with #122F4A

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

Preview Lab → · Contrast checker → · Palette generator →

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