#122C70#122C70

#122C70 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.1% C 0.122 H 264.5°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#122C70
RGBrgb(18, 44, 112)
HSLhsl(223, 72%, 25%)
HSVhsv(223, 84%, 44%)
CMYKcmyk(83.9%, 60.7%, 0%, 56.1%)
CIE-LABlab(20.44, 17.92, -42.07)
CIE-LCHlch(20.44, 45.73, 293.07°)
OKLaboklab(32.07% -0.0117 -0.1216)
OKLCHoklch(32.07% 0.122 264.5)
XYZxyz(4.0737, 3.0993, 15.7096)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122C70 #705612
analogous
#125B70 #122C70 #271270
triadic
#122C70 #70122C #2C7012
tetradic
#122C70 #70125B #705612 #127027
square
#122C70 #70125B #705612 #127027
split-complementary
#122C70 #702712 #5B7012
monochromatic
#040A1A #0A173B #122C70 #1A41A5 #2355D9

Accessibility & contrast

On white

12.96
#122C70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#122C70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122C70
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122C70#FFFFFF#000000##FFFFFF
##122C701.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003672
Deuteranopia (green-blind)
#002D6F
Tritanopia (blue-blind)
#003D49
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #122c70;
/* rgb */ color: rgb(18, 44, 112);
/* oklch */ color: oklch(32.1% 0.122 264.5);
Tailwind
colors: {
  custom: {
    50: '#62649a',
    500: '#122c70',
    950: '#000000',
  },
}
SCSS
$custom: #122c70;
$custom-light: #62649a;
$custom-dark: #000000;
JSON
{
  "hex": "#122c70",
  "rgb": {
    "r": 18,
    "g": 44,
    "b": 112
  },
  "hsl": {
    "h": 223.404,
    "s": 72.308,
    "l": 25.49
  },
  "oklch": {
    "l": 0.32067,
    "c": 0.12212,
    "h": 264.5
  },
  "luminance": 0.031
}

Semantic roles & 50–950 ramp

primary
#122C70
secondary
#A78837
accent
#BD39EF
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #122C70

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

Preview Lab → · Contrast checker → · Palette generator →

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