#122D53#122D53

#122D53 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 29.9% C 0.077 H 257.4°. Best body text is #FFFFFF at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#122D53
RGBrgb(18, 45, 83)
HSLhsl(215, 64%, 20%)
HSVhsv(215, 78%, 33%)
CMYKcmyk(78.3%, 45.8%, 0%, 67.5%)
CIE-LABlab(18.49, 4.79, -26.15)
CIE-LCHlch(18.49, 26.59, 280.37°)
OKLaboklab(29.87% -0.0167 -0.0747)
OKLCHoklch(29.87% 0.077 257.4)
XYZxyz(2.7486, 2.6296, 8.5446)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122D53 #533812
analogous
#124E53 #122D53 #181253
triadic
#122D53 #53122D #2D5312
tetradic
#122D53 #53124E #533812 #125318
square
#122D53 #53124E #533812 #125318
split-complementary
#122D53 #531812 #4E5312
monochromatic
#050E19 #071221 #122D53 #1D4885 #2864B8

Accessibility & contrast

On white

13.76
#122D53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #122D53
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122D53#FFFFFF#000000##FFFFFF
##122D531.0013.761.5313.76
#FFFFFF13.761.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3054
Deuteranopia (green-blind)
#102A52
Tritanopia (blue-blind)
#00363C
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #122d53;
/* rgb */ color: rgb(18, 45, 83);
/* oklch */ color: oklch(29.9% 0.077 257.4);
Tailwind
colors: {
  custom: {
    50: '#5a6583',
    500: '#122d53',
    950: '#000000',
  },
}
SCSS
$custom: #122d53;
$custom-light: #5a6583;
$custom-dark: #000000;
JSON
{
  "hex": "#122d53",
  "rgb": {
    "r": 18,
    "g": 45,
    "b": 83
  },
  "hsl": {
    "h": 215.077,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.29869,
    "c": 0.07655,
    "h": 257.4
  },
  "luminance": 0.0263
}

Semantic roles & 50–950 ramp

primary
#122D53
secondary
#8C6835
accent
#A240E7
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04050B
muted
#797A7C

Preview Lab

Preview with #122D53

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

Preview Lab → · Contrast checker → · Palette generator →

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