#122D6A#122D6A

#122D6A is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.7% C 0.112 H 263.4°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#122D6A
RGBrgb(18, 45, 106)
HSLhsl(222, 71%, 24%)
HSVhsv(222, 83%, 42%)
CMYKcmyk(83%, 57.5%, 0%, 58.4%)
CIE-LABlab(20.23, 14.65, -38.54)
CIE-LCHlch(20.23, 41.23, 290.82°)
OKLaboklab(31.75% -0.0129 -0.1111)
OKLCHoklch(31.75% 0.112 263.4)
XYZxyz(3.7884, 3.0455, 14.0211)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122D6A #6A4F12
analogous
#12596A #122D6A #23126A
triadic
#122D6A #6A122D #2D6A12
tetradic
#122D6A #6A1259 #6A4F12 #126A23
square
#122D6A #6A1259 #6A4F12 #126A23
split-complementary
#122D6A #6A2312 #596A12
monochromatic
#040B1A #091736 #122D6A #1B439E #2459D3

Accessibility & contrast

On white

13.05
#122D6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#122D6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122D6A
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122D6A#FFFFFF#000000##FFFFFF
##122D6A1.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356C
Deuteranopia (green-blind)
#002D69
Tritanopia (blue-blind)
#003C46
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #122d6a;
/* rgb */ color: rgb(18, 45, 106);
/* oklch */ color: oklch(31.7% 0.112 263.4);
Tailwind
colors: {
  custom: {
    50: '#606595',
    500: '#122d6a',
    950: '#000000',
  },
}
SCSS
$custom: #122d6a;
$custom-light: #606595;
$custom-dark: #000000;
JSON
{
  "hex": "#122d6a",
  "rgb": {
    "r": 18,
    "g": 45,
    "b": 106
  },
  "hsl": {
    "h": 221.591,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.31747,
    "c": 0.11189,
    "h": 263.4
  },
  "luminance": 0.03046
}

Semantic roles & 50–950 ramp

primary
#122D6A
secondary
#A28136
accent
#B73AEE
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#05050D
muted
#7A7A7E

Preview Lab

Preview with #122D6A

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

Preview Lab → · Contrast checker → · Palette generator →

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