#122F4D#122F4D

#122F4D is a dark, moderate cyan. Relative luminance 0.027; OKLCH L 30.0% C 0.065 H 251.5°. Best body text is #FFFFFF at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#122F4D
RGBrgb(18, 47, 77)
HSLhsl(211, 62%, 19%)
HSVhsv(211, 77%, 30%)
CMYKcmyk(76.6%, 39%, 0%, 69.8%)
CIE-LABlab(18.79, 0.80, -21.65)
CIE-LCHlch(18.79, 21.67, 272.12°)
OKLaboklab(29.97% -0.0205 -0.0615)
OKLCHoklch(29.97% 0.065 251.5)
XYZxyz(2.6050, 2.6972, 7.4031)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122F4D #4D3012
analogous
#124C4D #122F4D #12124D
triadic
#122F4D #4D122F #2F4D12
tetradic
#122F4D #4D124C #4D3012 #124D12
square
#122F4D #4D124C #4D3012 #124D12
split-complementary
#122F4D #4D1212 #4C4D12
monochromatic
#060F19 #06111B #122F4D #1E4D7F #296CB0

Accessibility & contrast

On white

13.64
#122F4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#122F4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122F4D
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122F4D#FFFFFF#000000##FFFFFF
##122F4D1.0013.641.5413.64
#FFFFFF13.641.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22314E
Deuteranopia (green-blind)
#192B4C
Tritanopia (blue-blind)
#00363A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #122f4d;
/* rgb */ color: rgb(18, 47, 77);
/* oklch */ color: oklch(30.0% 0.065 251.5);
Tailwind
colors: {
  custom: {
    50: '#58677f',
    500: '#122f4d',
    950: '#000000',
  },
}
SCSS
$custom: #122f4d;
$custom-light: #58677f;
$custom-dark: #000000;
JSON
{
  "hex": "#122f4d",
  "rgb": {
    "r": 18,
    "g": 47,
    "b": 77
  },
  "hsl": {
    "h": 210.508,
    "s": 62.105,
    "l": 18.627
  },
  "oklch": {
    "l": 0.29972,
    "c": 0.06483,
    "h": 251.5
  },
  "luminance": 0.02697
}

Semantic roles & 50–950 ramp

primary
#122F4D
secondary
#865E35
accent
#9543E5
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C

Preview Lab

Preview with #122F4D

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

Preview Lab → · Contrast checker → · Palette generator →

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