#122C75#122C75

#122C75 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.5% C 0.129 H 264.9°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#122C75
RGBrgb(18, 44, 117)
HSLhsl(224, 73%, 26%)
HSVhsv(224, 85%, 46%)
CMYKcmyk(84.6%, 62.4%, 0%, 54.1%)
CIE-LABlab(20.88, 20.02, -44.56)
CIE-LCHlch(20.88, 48.85, 294.19°)
OKLaboklab(32.54% -0.0115 -0.1289)
OKLCHoklch(32.54% 0.129 264.9)
XYZxyz(4.3599, 3.2138, 17.2167)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122C75 #755B12
analogous
#125E75 #122C75 #2A1275
triadic
#122C75 #75122C #2C7512
tetradic
#122C75 #75125E #755B12 #12752A
square
#122C75 #75125E #755B12 #12752A
split-complementary
#122C75 #752A12 #5E7512
monochromatic
#040A1B #0A1840 #122C75 #1A40AA #2455DD

Accessibility & contrast

On white

12.78
#122C75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#122C75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122C75
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122C75#FFFFFF#000000##FFFFFF
##122C751.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003777
Deuteranopia (green-blind)
#002E74
Tritanopia (blue-blind)
#003F4C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #122c75;
/* rgb */ color: rgb(18, 44, 117);
/* oklch */ color: oklch(32.5% 0.129 264.9);
Tailwind
colors: {
  custom: {
    50: '#63649d',
    500: '#122c75',
    950: '#000000',
  },
}
SCSS
$custom: #122c75;
$custom-light: #63649d;
$custom-dark: #000000;
JSON
{
  "hex": "#122c75",
  "rgb": {
    "r": 18,
    "g": 44,
    "b": 117
  },
  "hsl": {
    "h": 224.242,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.32537,
    "c": 0.12938,
    "h": 264.9
  },
  "luminance": 0.03214
}

Semantic roles & 50–950 ramp

primary
#122C75
secondary
#AC8D37
accent
#C038F0
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #122C75

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

Preview Lab → · Contrast checker → · Palette generator →

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