#122B6C#122B6C

#122B6C is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.5% C 0.118 H 264.5°. Best body text is #FFFFFF at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#122B6C
RGBrgb(18, 43, 108)
HSLhsl(223, 71%, 25%)
HSVhsv(223, 83%, 42%)
CMYKcmyk(83.3%, 60.2%, 0%, 57.6%)
CIE-LABlab(19.80, 16.96, -40.53)
CIE-LCHlch(19.80, 43.94, 292.71°)
OKLaboklab(31.48% -0.0112 -0.1171)
OKLCHoklch(31.48% 0.118 264.5)
XYZxyz(3.8191, 2.9386, 14.5504)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122B6C #6C5312
analogous
#12586C #122B6C #26126C
triadic
#122B6C #6C122B #2B6C12
tetradic
#122B6C #6C1258 #6C5312 #126C26
square
#122B6C #6C1258 #6C5312 #126C26
split-complementary
#122B6C #6C2612 #586C12
monochromatic
#040A1A #091638 #122B6C #1B40A0 #2355D5

Accessibility & contrast

On white

13.23
#122B6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#122B6C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122B6C
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122B6C#FFFFFF#000000##FFFFFF
##122B6C1.0013.231.5913.23
#FFFFFF13.231.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346E
Deuteranopia (green-blind)
#002C6B
Tritanopia (blue-blind)
#003B47
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #122b6c;
/* rgb */ color: rgb(18, 43, 108);
/* oklch */ color: oklch(31.5% 0.118 264.5);
Tailwind
colors: {
  custom: {
    50: '#616397',
    500: '#122b6c',
    950: '#000000',
  },
}
SCSS
$custom: #122b6c;
$custom-light: #616397;
$custom-dark: #000000;
JSON
{
  "hex": "#122b6c",
  "rgb": {
    "r": 18,
    "g": 43,
    "b": 108
  },
  "hsl": {
    "h": 223.333,
    "s": 71.429,
    "l": 24.706
  },
  "oklch": {
    "l": 0.31477,
    "c": 0.1176,
    "h": 264.5
  },
  "luminance": 0.02939
}

Semantic roles & 50–950 ramp

primary
#122B6C
secondary
#A38536
accent
#BC3AEE
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050D
muted
#7A797E

Preview Lab

Preview with #122B6C

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

Preview Lab → · Contrast checker → · Palette generator →

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