#122D56#122D56

#122D56 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.1% C 0.081 H 258.7°. Best body text is #FFFFFF at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#122D56
RGBrgb(18, 45, 86)
HSLhsl(216, 65%, 20%)
HSVhsv(216, 79%, 34%)
CMYKcmyk(79.1%, 47.7%, 0%, 66.3%)
CIE-LABlab(18.70, 6.07, -27.83)
CIE-LCHlch(18.70, 28.49, 282.31°)
OKLaboklab(30.1% -0.0159 -0.0796)
OKLCHoklch(30.1% 0.081 258.7)
XYZxyz(2.8669, 2.6769, 9.1679)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122D56 #563B12
analogous
#124F56 #122D56 #191256
triadic
#122D56 #56122D #2D5612
tetradic
#122D56 #56124F #563B12 #125619
square
#122D56 #56124F #563B12 #125619
split-complementary
#122D56 #561912 #4F5612
monochromatic
#050D19 #071323 #122D56 #1D4789 #2762BB

Accessibility & contrast

On white

13.68
#122D56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #122D56
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122D56#FFFFFF#000000##FFFFFF
##122D561.0013.681.5413.68
#FFFFFF13.681.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193158
Deuteranopia (green-blind)
#0C2B55
Tritanopia (blue-blind)
#00373D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #122d56;
/* rgb */ color: rgb(18, 45, 86);
/* oklch */ color: oklch(30.1% 0.081 258.7);
Tailwind
colors: {
  custom: {
    50: '#5a6586',
    500: '#122d56',
    950: '#000000',
  },
}
SCSS
$custom: #122d56;
$custom-light: #5a6586;
$custom-dark: #000000;
JSON
{
  "hex": "#122d56",
  "rgb": {
    "r": 18,
    "g": 45,
    "b": 86
  },
  "hsl": {
    "h": 216.176,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.30095,
    "c": 0.08123,
    "h": 258.7
  },
  "luminance": 0.02677
}

Semantic roles & 50–950 ramp

primary
#122D56
secondary
#8F6B35
accent
#A53FE8
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04050B
muted
#797A7C

Preview Lab

Preview with #122D56

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

Preview Lab → · Contrast checker → · Palette generator →

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