#122B5B#122B5B

#122B5B is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.0% C 0.092 H 261.8°. Best body text is #FFFFFF at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#122B5B
RGBrgb(18, 43, 91)
HSLhsl(219, 67%, 21%)
HSVhsv(219, 80%, 36%)
CMYKcmyk(80.2%, 52.7%, 0%, 64.3%)
CIE-LABlab(18.42, 9.69, -31.62)
CIE-LCHlch(18.42, 33.07, 287.04°)
OKLaboklab(29.99% -0.013 -0.0908)
OKLCHoklch(29.99% 0.092 261.8)
XYZxyz(3.0010, 2.6114, 10.2414)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122B5B #5B4212
analogous
#12505B #122B5B #1E125B
triadic
#122B5B #5B122B #2B5B12
tetradic
#122B5B #5B1250 #5B4212 #125B1E
square
#122B5B #5B1250 #5B4212 #125B1E
split-complementary
#122B5B #5B1E12 #505B12
monochromatic
#050C1A #081328 #122B5B #1C438E #265BC1

Accessibility & contrast

On white

13.79
#122B5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#122B5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122B5B
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122B5B#FFFFFF#000000##FFFFFF
##122B5B1.0013.791.5213.79
#FFFFFF13.791.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F305D
Deuteranopia (green-blind)
#002A5A
Tritanopia (blue-blind)
#00363E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #122b5b;
/* rgb */ color: rgb(18, 43, 91);
/* oklch */ color: oklch(30.0% 0.092 261.8);
Tailwind
colors: {
  custom: {
    50: '#5c638a',
    500: '#122b5b',
    950: '#000000',
  },
}
SCSS
$custom: #122b5b;
$custom-light: #5c638a;
$custom-dark: #000000;
JSON
{
  "hex": "#122b5b",
  "rgb": {
    "r": 18,
    "g": 43,
    "b": 91
  },
  "hsl": {
    "h": 219.452,
    "s": 66.972,
    "l": 21.373
  },
  "oklch": {
    "l": 0.29992,
    "c": 0.09177,
    "h": 261.8
  },
  "luminance": 0.02612
}

Semantic roles & 50–950 ramp

primary
#122B5B
secondary
#937335
accent
#AF3EEA
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#04050C
muted
#79797D

Preview Lab

Preview with #122B5B

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

Preview Lab → · Contrast checker → · Palette generator →

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