#122B6A#122B6A

#122B6A is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.3% C 0.115 H 264.3°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#122B6A
RGBrgb(18, 43, 106)
HSLhsl(223, 71%, 24%)
HSVhsv(223, 83%, 42%)
CMYKcmyk(83%, 59.4%, 0%, 58.4%)
CIE-LABlab(19.62, 16.11, -39.51)
CIE-LCHlch(19.62, 42.67, 292.19°)
OKLaboklab(31.29% -0.0113 -0.1141)
OKLCHoklch(31.29% 0.115 264.3)
XYZxyz(3.7139, 2.8965, 13.9962)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122B6A #6A5112
analogous
#12576A #122B6A #25126A
triadic
#122B6A #6A122B #2B6A12
tetradic
#122B6A #6A1257 #6A5112 #126A25
square
#122B6A #6A1257 #6A5112 #126A25
split-complementary
#122B6A #6A2512 #576A12
monochromatic
#040B1A #091636 #122B6A #1B409E #2455D3

Accessibility & contrast

On white

13.30
#122B6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#122B6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122B6A
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122B6A#FFFFFF#000000##FFFFFF
##122B6A1.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346C
Deuteranopia (green-blind)
#002C69
Tritanopia (blue-blind)
#003B46
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #122b6a;
/* rgb */ color: rgb(18, 43, 106);
/* oklch */ color: oklch(31.3% 0.115 264.3);
Tailwind
colors: {
  custom: {
    50: '#606395',
    500: '#122b6a',
    950: '#000000',
  },
}
SCSS
$custom: #122b6a;
$custom-light: #606395;
$custom-dark: #000000;
JSON
{
  "hex": "#122b6a",
  "rgb": {
    "r": 18,
    "g": 43,
    "b": 106
  },
  "hsl": {
    "h": 222.955,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.31294,
    "c": 0.11462,
    "h": 264.3
  },
  "luminance": 0.02897
}

Semantic roles & 50–950 ramp

primary
#122B6A
secondary
#A28336
accent
#BB3AEE
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#05050D
muted
#7A797E

Preview Lab

Preview with #122B6A

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

Preview Lab → · Contrast checker → · Palette generator →

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