#122B53#122B53

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

Color values

HEX#122B53
RGBrgb(18, 43, 83)
HSLhsl(217, 64%, 20%)
HSVhsv(217, 78%, 33%)
CMYKcmyk(78.3%, 48.2%, 0%, 67.5%)
CIE-LABlab(17.83, 6.25, -27.21)
CIE-LCHlch(17.83, 27.92, 282.93°)
OKLaboklab(29.35% -0.0145 -0.0779)
OKLCHoklch(29.35% 0.079 259.4)
XYZxyz(2.6741, 2.4806, 8.5198)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122B53 #533A12
analogous
#124C53 #122B53 #1A1253
triadic
#122B53 #53122B #2B5312
tetradic
#122B53 #53124C #533A12 #12531A
square
#122B53 #53124C #533A12 #12531A
split-complementary
#122B53 #531A12 #4C5312
monochromatic
#050D19 #071121 #122B53 #1D4585 #285FB8

Accessibility & contrast

On white

14.04
#122B53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #122B53
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122B53#FFFFFF#000000##FFFFFF
##122B531.0014.041.5014.04
#FFFFFF14.041.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172F55
Deuteranopia (green-blind)
#0B2952
Tritanopia (blue-blind)
#00343A
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #122b53;
/* rgb */ color: rgb(18, 43, 83);
/* oklch */ color: oklch(29.4% 0.079 259.4);
Tailwind
colors: {
  custom: {
    50: '#5a6384',
    500: '#122b53',
    950: '#000000',
  },
}
SCSS
$custom: #122b53;
$custom-light: #5a6384;
$custom-dark: #000000;
JSON
{
  "hex": "#122b53",
  "rgb": {
    "r": 18,
    "g": 43,
    "b": 83
  },
  "hsl": {
    "h": 216.923,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.29355,
    "c": 0.07922,
    "h": 259.4
  },
  "luminance": 0.02481
}

Semantic roles & 50–950 ramp

primary
#122B53
secondary
#8C6A35
accent
#A740E7
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #122B53

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

Preview Lab → · Contrast checker → · Palette generator →

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