#122B54#122B54

#122B54 is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.4% C 0.081 H 259.8°. Best body text is #FFFFFF at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#122B54
RGBrgb(18, 43, 84)
HSLhsl(217, 65%, 20%)
HSVhsv(217, 79%, 33%)
CMYKcmyk(78.6%, 48.8%, 0%, 67.1%)
CIE-LABlab(17.90, 6.68, -27.77)
CIE-LCHlch(17.90, 28.56, 283.52°)
OKLaboklab(29.43% -0.0143 -0.0795)
OKLCHoklch(29.43% 0.081 259.8)
XYZxyz(2.7130, 2.4962, 8.7246)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122B54 #543B12
analogous
#124C54 #122B54 #1A1254
triadic
#122B54 #54122B #2B5412
tetradic
#122B54 #54124C #543B12 #12541A
square
#122B54 #54124C #543B12 #12541A
split-complementary
#122B54 #541A12 #4C5412
monochromatic
#050D19 #071122 #122B54 #1D4586 #285FB9

Accessibility & contrast

On white

14.01
#122B54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#122B54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122B54
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122B54#FFFFFF#000000##FFFFFF
##122B541.0014.011.5014.01
#FFFFFF14.011.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162F56
Deuteranopia (green-blind)
#092953
Tritanopia (blue-blind)
#00353B
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #122b54;
/* rgb */ color: rgb(18, 43, 84);
/* oklch */ color: oklch(29.4% 0.081 259.8);
Tailwind
colors: {
  custom: {
    50: '#5a6384',
    500: '#122b54',
    950: '#000000',
  },
}
SCSS
$custom: #122b54;
$custom-light: #5a6384;
$custom-dark: #000000;
JSON
{
  "hex": "#122b54",
  "rgb": {
    "r": 18,
    "g": 43,
    "b": 84
  },
  "hsl": {
    "h": 217.273,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.29432,
    "c": 0.0808,
    "h": 259.8
  },
  "luminance": 0.02496
}

Semantic roles & 50–950 ramp

primary
#122B54
secondary
#8D6C35
accent
#A840E8
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #122B54

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

Preview Lab → · Contrast checker → · Palette generator →

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