#122B56#122B56

#122B56 is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.6% C 0.084 H 260.5°. Best body text is #FFFFFF at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#122B56
RGBrgb(18, 43, 86)
HSLhsl(218, 65%, 20%)
HSVhsv(218, 79%, 34%)
CMYKcmyk(79.1%, 50%, 0%, 66.3%)
CIE-LABlab(18.04, 7.54, -28.88)
CIE-LCHlch(18.04, 29.85, 284.63°)
OKLaboklab(29.59% -0.0139 -0.0828)
OKLCHoklch(29.59% 0.084 260.5)
XYZxyz(2.7924, 2.5279, 9.1431)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122B56 #563D12
analogous
#124D56 #122B56 #1B1256
triadic
#122B56 #56122B #2B5612
tetradic
#122B56 #56124D #563D12 #12561B
square
#122B56 #56124D #563D12 #12561B
split-complementary
#122B56 #561B12 #4D5612
monochromatic
#050D19 #071223 #122B56 #1D4489 #275EBB

Accessibility & contrast

On white

13.95
#122B56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#122B56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122B56
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122B56#FFFFFF#000000##FFFFFF
##122B561.0013.951.5113.95
#FFFFFF13.951.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152F58
Deuteranopia (green-blind)
#062955
Tritanopia (blue-blind)
#00353C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #122b56;
/* rgb */ color: rgb(18, 43, 86);
/* oklch */ color: oklch(29.6% 0.084 260.5);
Tailwind
colors: {
  custom: {
    50: '#5b6386',
    500: '#122b56',
    950: '#000000',
  },
}
SCSS
$custom: #122b56;
$custom-light: #5b6386;
$custom-dark: #000000;
JSON
{
  "hex": "#122b56",
  "rgb": {
    "r": 18,
    "g": 43,
    "b": 86
  },
  "hsl": {
    "h": 217.941,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.29589,
    "c": 0.08395,
    "h": 260.5
  },
  "luminance": 0.02528
}

Semantic roles & 50–950 ramp

primary
#122B56
secondary
#8F6E35
accent
#AA3FE8
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #122B56

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

Preview Lab → · Contrast checker → · Palette generator →

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