#122C53#122C53

#122C53 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 29.6% C 0.078 H 258.5°. Best body text is #FFFFFF at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#122C53
RGBrgb(18, 44, 83)
HSLhsl(216, 64%, 20%)
HSVhsv(216, 78%, 33%)
CMYKcmyk(78.3%, 47%, 0%, 67.5%)
CIE-LABlab(18.16, 5.52, -26.68)
CIE-LCHlch(18.16, 27.25, 281.68°)
OKLaboklab(29.61% -0.0156 -0.0763)
OKLCHoklch(29.61% 0.078 258.5)
XYZxyz(2.7109, 2.5542, 8.5321)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122C53 #533912
analogous
#124D53 #122C53 #191253
triadic
#122C53 #53122C #2C5312
tetradic
#122C53 #53124D #533912 #125319
square
#122C53 #53124D #533912 #125319
split-complementary
#122C53 #531912 #4D5312
monochromatic
#050D19 #071121 #122C53 #1D4785 #2861B8

Accessibility & contrast

On white

13.90
#122C53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #122C53
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122C53#FFFFFF#000000##FFFFFF
##122C531.0013.901.5113.90
#FFFFFF13.901.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193055
Deuteranopia (green-blind)
#0D2A52
Tritanopia (blue-blind)
#00353B
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #122c53;
/* rgb */ color: rgb(18, 44, 83);
/* oklch */ color: oklch(29.6% 0.078 258.5);
Tailwind
colors: {
  custom: {
    50: '#5a6483',
    500: '#122c53',
    950: '#000000',
  },
}
SCSS
$custom: #122c53;
$custom-light: #5a6483;
$custom-dark: #000000;
JSON
{
  "hex": "#122c53",
  "rgb": {
    "r": 18,
    "g": 44,
    "b": 83
  },
  "hsl": {
    "h": 216,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.29611,
    "c": 0.07787,
    "h": 258.5
  },
  "luminance": 0.02554
}

Semantic roles & 50–950 ramp

primary
#122C53
secondary
#8C6935
accent
#A540E7
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #122C53

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

Preview Lab → · Contrast checker → · Palette generator →

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