#122F52#122F52

#122F52 is a dark, moderate cyan. Relative luminance 0.028; OKLCH L 30.3% C 0.072 H 254.7°. Best body text is #FFFFFF at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#122F52
RGBrgb(18, 47, 82)
HSLhsl(213, 64%, 20%)
HSVhsv(213, 78%, 32%)
CMYKcmyk(78%, 42.7%, 0%, 67.8%)
CIE-LABlab(19.10, 2.91, -24.52)
CIE-LCHlch(19.10, 24.69, 276.78°)
OKLaboklab(30.32% -0.0191 -0.0699)
OKLCHoklch(30.32% 0.072 254.7)
XYZxyz(2.7884, 2.7705, 8.3688)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122F52 #523512
analogous
#124F52 #122F52 #151252
triadic
#122F52 #52122F #2F5212
tetradic
#122F52 #52124F #523512 #125215
square
#122F52 #52124F #523512 #125215
split-complementary
#122F52 #521512 #4F5212
monochromatic
#060E19 #071220 #122F52 #1D4C84 #2869B6

Accessibility & contrast

On white

13.51
#122F52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#122F52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122F52
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122F52#FFFFFF#000000##FFFFFF
##122F521.0013.511.5513.51
#FFFFFF13.511.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3253
Deuteranopia (green-blind)
#152C51
Tritanopia (blue-blind)
#00373C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #122f52;
/* rgb */ color: rgb(18, 47, 82);
/* oklch */ color: oklch(30.3% 0.072 254.7);
Tailwind
colors: {
  custom: {
    50: '#596783',
    500: '#122f52',
    950: '#000000',
  },
}
SCSS
$custom: #122f52;
$custom-light: #596783;
$custom-dark: #000000;
JSON
{
  "hex": "#122f52",
  "rgb": {
    "r": 18,
    "g": 47,
    "b": 82
  },
  "hsl": {
    "h": 212.813,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.30318,
    "c": 0.07244,
    "h": 254.7
  },
  "luminance": 0.02771
}

Semantic roles & 50–950 ramp

primary
#122F52
secondary
#8B6435
accent
#9C41E7
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060A
muted
#797A7C

Preview Lab

Preview with #122F52

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

Preview Lab → · Contrast checker → · Palette generator →

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