#122B5D#122B5D

#122B5D is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.2% C 0.095 H 262.3°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#122B5D
RGBrgb(18, 43, 93)
HSLhsl(220, 68%, 22%)
HSVhsv(220, 81%, 36%)
CMYKcmyk(80.6%, 53.8%, 0%, 63.5%)
CIE-LABlab(18.57, 10.55, -32.70)
CIE-LCHlch(18.57, 34.36, 287.89°)
OKLaboklab(30.16% -0.0127 -0.094)
OKLCHoklch(30.16% 0.095 262.3)
XYZxyz(3.0884, 2.6463, 10.7018)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122B5D #5D4412
analogous
#12515D #122B5D #1F125D
triadic
#122B5D #5D122B #2B5D12
tetradic
#122B5D #5D1251 #5D4412 #125D1F
square
#122B5D #5D1251 #5D4412 #125D1F
split-complementary
#122B5D #5D1F12 #515D12
monochromatic
#050C1A #08132A #122B5D #1C4390 #265AC4

Accessibility & contrast

On white

13.73
#122B5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #122B5D
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122B5D#FFFFFF#000000##FFFFFF
##122B5D1.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D315F
Deuteranopia (green-blind)
#002A5C
Tritanopia (blue-blind)
#00373F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #122b5d;
/* rgb */ color: rgb(18, 43, 93);
/* oklch */ color: oklch(30.2% 0.095 262.3);
Tailwind
colors: {
  custom: {
    50: '#5c638b',
    500: '#122b5d',
    950: '#000000',
  },
}
SCSS
$custom: #122b5d;
$custom-light: #5c638b;
$custom-dark: #000000;
JSON
{
  "hex": "#122b5d",
  "rgb": {
    "r": 18,
    "g": 43,
    "b": 93
  },
  "hsl": {
    "h": 220,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.30158,
    "c": 0.09488,
    "h": 262.3
  },
  "luminance": 0.02647
}

Semantic roles & 50–950 ramp

primary
#122B5D
secondary
#957535
accent
#B13DEA
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #122B5D

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

Preview Lab → · Contrast checker → · Palette generator →

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