#122D55#122D55

#122D55 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.0% C 0.080 H 258.3°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#122D55
RGBrgb(18, 45, 85)
HSLhsl(216, 65%, 20%)
HSVhsv(216, 79%, 33%)
CMYKcmyk(78.8%, 47.1%, 0%, 66.7%)
CIE-LABlab(18.63, 5.64, -27.27)
CIE-LCHlch(18.63, 27.85, 281.69°)
OKLaboklab(30.02% -0.0162 -0.078)
OKLCHoklch(30.02% 0.08 258.3)
XYZxyz(2.8269, 2.6609, 8.9572)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122D55 #553A12
analogous
#124E55 #122D55 #181255
triadic
#122D55 #55122D #2D5512
tetradic
#122D55 #55124E #553A12 #125518
square
#122D55 #55124E #553A12 #125518
split-complementary
#122D55 #551812 #4E5512
monochromatic
#050D19 #071222 #122D55 #1D4888 #2762BA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##122D55#FFFFFF#000000##FFFFFF
##122D551.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)
#193157
Deuteranopia (green-blind)
#0D2A54
Tritanopia (blue-blind)
#00363C
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #122d55;
/* rgb */ color: rgb(18, 45, 85);
/* oklch */ color: oklch(30.0% 0.080 258.3);
Tailwind
colors: {
  custom: {
    50: '#5a6585',
    500: '#122d55',
    950: '#000000',
  },
}
SCSS
$custom: #122d55;
$custom-light: #5a6585;
$custom-dark: #000000;
JSON
{
  "hex": "#122d55",
  "rgb": {
    "r": 18,
    "g": 45,
    "b": 85
  },
  "hsl": {
    "h": 215.821,
    "s": 65.049,
    "l": 20.196
  },
  "oklch": {
    "l": 0.30019,
    "c": 0.07967,
    "h": 258.3
  },
  "luminance": 0.02661
}

Semantic roles & 50–950 ramp

primary
#122D55
secondary
#8E6A35
accent
#A440E8
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04050B
muted
#797A7C

Preview Lab

Preview with #122D55

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

Preview Lab → · Contrast checker → · Palette generator →

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