#122F53#122F53

#122F53 is a dark, moderate cyan. Relative luminance 0.028; OKLCH L 30.4% C 0.074 H 255.3°. Best body text is #FFFFFF at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#122F53
RGBrgb(18, 47, 83)
HSLhsl(213, 64%, 20%)
HSVhsv(213, 78%, 33%)
CMYKcmyk(78.3%, 43.4%, 0%, 67.5%)
CIE-LABlab(19.17, 3.34, -25.08)
CIE-LCHlch(19.17, 25.30, 277.58°)
OKLaboklab(30.39% -0.0188 -0.0715)
OKLCHoklch(30.39% 0.074 255.3)
XYZxyz(2.8267, 2.7859, 8.5707)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122F53 #533612
analogous
#124F53 #122F53 #161253
triadic
#122F53 #53122F #2F5312
tetradic
#122F53 #53124F #533612 #125316
square
#122F53 #53124F #533612 #125316
split-complementary
#122F53 #531612 #4F5312
monochromatic
#050E19 #071321 #122F53 #1D4B85 #2868B8

Accessibility & contrast

On white

13.49
#122F53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#122F53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122F53
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122F53#FFFFFF#000000##FFFFFF
##122F531.0013.491.5613.49
#FFFFFF13.491.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3254
Deuteranopia (green-blind)
#142C52
Tritanopia (blue-blind)
#00373D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #122f53;
/* rgb */ color: rgb(18, 47, 83);
/* oklch */ color: oklch(30.4% 0.074 255.3);
Tailwind
colors: {
  custom: {
    50: '#5a6783',
    500: '#122f53',
    950: '#000000',
  },
}
SCSS
$custom: #122f53;
$custom-light: #5a6783;
$custom-dark: #000000;
JSON
{
  "hex": "#122f53",
  "rgb": {
    "r": 18,
    "g": 47,
    "b": 83
  },
  "hsl": {
    "h": 213.231,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.3039,
    "c": 0.07398,
    "h": 255.3
  },
  "luminance": 0.02786
}

Semantic roles & 50–950 ramp

primary
#122F53
secondary
#8C6535
accent
#9D40E7
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060A
muted
#797A7C

Preview Lab

Preview with #122F53

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

Preview Lab → · Contrast checker → · Palette generator →

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