#122B5E#122B5E

#122B5E is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.2% C 0.096 H 262.5°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#122B5E
RGBrgb(18, 43, 94)
HSLhsl(220, 68%, 22%)
HSVhsv(220, 81%, 37%)
CMYKcmyk(80.9%, 54.3%, 0%, 63.1%)
CIE-LABlab(18.65, 10.98, -33.24)
CIE-LCHlch(18.65, 35.00, 288.29°)
OKLaboklab(30.24% -0.0126 -0.0956)
OKLCHoklch(30.24% 0.096 262.5)
XYZxyz(3.1330, 2.6642, 10.9366)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122B5E #5E4512
analogous
#12515E #122B5E #1F125E
triadic
#122B5E #5E122B #2B5E12
tetradic
#122B5E #5E1251 #5E4512 #125E1F
square
#122B5E #5E1251 #5E4512 #125E1F
split-complementary
#122B5E #5E1F12 #515E12
monochromatic
#050C1A #08142B #122B5E #1C4291 #265AC5

Accessibility & contrast

On white

13.70
#122B5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #122B5E
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122B5E#FFFFFF#000000##FFFFFF
##122B5E1.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3160
Deuteranopia (green-blind)
#002A5D
Tritanopia (blue-blind)
#003740
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #122b5e;
/* rgb */ color: rgb(18, 43, 94);
/* oklch */ color: oklch(30.2% 0.096 262.5);
Tailwind
colors: {
  custom: {
    50: '#5d638c',
    500: '#122b5e',
    950: '#000000',
  },
}
SCSS
$custom: #122b5e;
$custom-light: #5d638c;
$custom-dark: #000000;
JSON
{
  "hex": "#122b5e",
  "rgb": {
    "r": 18,
    "g": 43,
    "b": 94
  },
  "hsl": {
    "h": 220.263,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.30242,
    "c": 0.09641,
    "h": 262.5
  },
  "luminance": 0.02665
}

Semantic roles & 50–950 ramp

primary
#122B5E
secondary
#967635
accent
#B23DEB
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #122B5E

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

Preview Lab → · Contrast checker → · Palette generator →

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