#122B5A#122B5A

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

Color values

HEX#122B5A
RGBrgb(18, 43, 90)
HSLhsl(219, 67%, 21%)
HSVhsv(219, 80%, 35%)
CMYKcmyk(80%, 52.2%, 0%, 64.7%)
CIE-LABlab(18.34, 9.26, -31.08)
CIE-LCHlch(18.34, 32.43, 286.59°)
OKLaboklab(29.91% -0.0132 -0.0892)
OKLCHoklch(29.91% 0.09 261.6)
XYZxyz(2.9581, 2.5942, 10.0157)
Luminance0.0260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122B5A #5A4112
analogous
#124F5A #122B5A #1D125A
triadic
#122B5A #5A122B #2B5A12
tetradic
#122B5A #5A124F #5A4112 #125A1D
square
#122B5A #5A124F #5A4112 #125A1D
split-complementary
#122B5A #5A1D12 #4F5A12
monochromatic
#050C1A #081327 #122B5A #1C438D #265CC0

Accessibility & contrast

On white

13.82
#122B5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #122B5A
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122B5A#FFFFFF#000000##FFFFFF
##122B5A1.0013.821.5213.82
#FFFFFF13.821.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11305C
Deuteranopia (green-blind)
#002A59
Tritanopia (blue-blind)
#00363E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #122b5a;
/* rgb */ color: rgb(18, 43, 90);
/* oklch */ color: oklch(29.9% 0.090 261.6);
Tailwind
colors: {
  custom: {
    50: '#5c6389',
    500: '#122b5a',
    950: '#000000',
  },
}
SCSS
$custom: #122b5a;
$custom-light: #5c6389;
$custom-dark: #000000;
JSON
{
  "hex": "#122b5a",
  "rgb": {
    "r": 18,
    "g": 43,
    "b": 90
  },
  "hsl": {
    "h": 219.167,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.2991,
    "c": 0.09021,
    "h": 261.6
  },
  "luminance": 0.02595
}

Semantic roles & 50–950 ramp

primary
#122B5A
secondary
#937235
accent
#AE3EEA
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#04050B
muted
#79797C

Preview Lab

Preview with #122B5A

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

Preview Lab → · Contrast checker → · Palette generator →

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