#122A53#122A53

#122A53 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.1% C 0.081 H 260.4°. Best body text is #FFFFFF at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#122A53
RGBrgb(18, 42, 83)
HSLhsl(218, 64%, 20%)
HSVhsv(218, 78%, 33%)
CMYKcmyk(78.3%, 49.4%, 0%, 67.5%)
CIE-LABlab(17.50, 6.99, -27.74)
CIE-LCHlch(17.50, 28.61, 284.14°)
OKLaboklab(29.1% -0.0135 -0.0795)
OKLCHoklch(29.1% 0.081 260.4)
XYZxyz(2.6382, 2.4088, 8.5078)
Luminance0.0241 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122A53 #533B12
analogous
#124B53 #122A53 #1B1253
triadic
#122A53 #53122A #2A5312
tetradic
#122A53 #53124B #533B12 #12531B
square
#122A53 #53124B #533B12 #12531B
split-complementary
#122A53 #531B12 #4B5312
monochromatic
#050D19 #071121 #122A53 #1D4385 #285DB8

Accessibility & contrast

On white

14.17
#122A53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#122A53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122A53
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122A53#FFFFFF#000000##FFFFFF
##122A531.0014.171.4814.17
#FFFFFF14.171.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152E55
Deuteranopia (green-blind)
#082852
Tritanopia (blue-blind)
#00343A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #122a53;
/* rgb */ color: rgb(18, 42, 83);
/* oklch */ color: oklch(29.1% 0.081 260.4);
Tailwind
colors: {
  custom: {
    50: '#5a6384',
    500: '#122a53',
    950: '#000000',
  },
}
SCSS
$custom: #122a53;
$custom-light: #5a6384;
$custom-dark: #000000;
JSON
{
  "hex": "#122a53",
  "rgb": {
    "r": 18,
    "g": 42,
    "b": 83
  },
  "hsl": {
    "h": 217.846,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.29101,
    "c": 0.08059,
    "h": 260.4
  },
  "luminance": 0.02409
}

Semantic roles & 50–950 ramp

primary
#122A53
secondary
#8C6C35
accent
#AA40E7
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #122A53

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

Preview Lab → · Contrast checker → · Palette generator →

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