#122C71#122C71

#122C71 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.2% C 0.124 H 264.6°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#122C71
RGBrgb(18, 44, 113)
HSLhsl(224, 73%, 26%)
HSVhsv(224, 84%, 44%)
CMYKcmyk(84.1%, 61.1%, 0%, 55.7%)
CIE-LABlab(20.52, 18.34, -42.58)
CIE-LCHlch(20.52, 46.36, 293.31°)
OKLaboklab(32.16% -0.0116 -0.123)
OKLCHoklch(32.16% 0.124 264.6)
XYZxyz(4.1297, 3.1217, 16.0045)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122C71 #715712
analogous
#125B71 #122C71 #271271
triadic
#122C71 #71122C #2C7112
tetradic
#122C71 #71125B #715712 #127127
square
#122C71 #71125B #715712 #127127
split-complementary
#122C71 #712712 #5B7112
monochromatic
#040A1A #0A173C #122C71 #1A41A6 #2355DB

Accessibility & contrast

On white

12.93
#122C71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #122C71
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122C71#FFFFFF#000000##FFFFFF
##122C711.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003673
Deuteranopia (green-blind)
#002D70
Tritanopia (blue-blind)
#003D4A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #122c71;
/* rgb */ color: rgb(18, 44, 113);
/* oklch */ color: oklch(32.2% 0.124 264.6);
Tailwind
colors: {
  custom: {
    50: '#62649a',
    500: '#122c71',
    950: '#000000',
  },
}
SCSS
$custom: #122c71;
$custom-light: #62649a;
$custom-dark: #000000;
JSON
{
  "hex": "#122c71",
  "rgb": {
    "r": 18,
    "g": 44,
    "b": 113
  },
  "hsl": {
    "h": 223.579,
    "s": 72.519,
    "l": 25.686
  },
  "oklch": {
    "l": 0.3216,
    "c": 0.12359,
    "h": 264.6
  },
  "luminance": 0.03122
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #122C71

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

Preview Lab → · Contrast checker → · Palette generator →

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