#122F4C#122F4C

#122F4C is a dark, moderate cyan. Relative luminance 0.027; OKLCH L 29.9% C 0.063 H 250.8°. Best body text is #FFFFFF at 13.67:1 contrast (WCAG AA passes).

Color values

HEX#122F4C
RGBrgb(18, 47, 76)
HSLhsl(210, 62%, 18%)
HSVhsv(210, 76%, 30%)
CMYKcmyk(76.3%, 38.2%, 0%, 70.2%)
CIE-LABlab(18.73, 0.38, -21.07)
CIE-LCHlch(18.73, 21.07, 271.05°)
OKLaboklab(29.9% -0.0209 -0.0598)
OKLCHoklch(29.9% 0.063 250.8)
XYZxyz(2.5700, 2.6832, 7.2185)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122F4C #4C2F12
analogous
#124C4C #122F4C #12124C
triadic
#122F4C #4C122F #2F4C12
tetradic
#122F4C #4C124C #4C2F12 #124C12
square
#122F4C #4C124C #4C2F12 #124C12
split-complementary
#122F4C #4C1212 #4C4C12
monochromatic
#060F19 #06101B #122F4C #1E4E7D #296CAF

Accessibility & contrast

On white

13.67
#122F4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #122F4C
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122F4C#FFFFFF#000000##FFFFFF
##122F4C1.0013.671.5413.67
#FFFFFF13.671.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22314D
Deuteranopia (green-blind)
#1A2B4B
Tritanopia (blue-blind)
#00363A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #122f4c;
/* rgb */ color: rgb(18, 47, 76);
/* oklch */ color: oklch(29.9% 0.063 250.8);
Tailwind
colors: {
  custom: {
    50: '#58677e',
    500: '#122f4c',
    950: '#000000',
  },
}
SCSS
$custom: #122f4c;
$custom-light: #58677e;
$custom-dark: #000000;
JSON
{
  "hex": "#122f4c",
  "rgb": {
    "r": 18,
    "g": 47,
    "b": 76
  },
  "hsl": {
    "h": 210,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.29905,
    "c": 0.06332,
    "h": 250.8
  },
  "luminance": 0.02683
}

Semantic roles & 50–950 ramp

primary
#122F4C
secondary
#855D35
accent
#9443E5
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C

Preview Lab

Preview with #122F4C

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

Preview Lab → · Contrast checker → · Palette generator →

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