#122C74#122C74

#122C74 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.4% C 0.128 H 264.8°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#122C74
RGBrgb(18, 44, 116)
HSLhsl(224, 73%, 26%)
HSVhsv(224, 84%, 45%)
CMYKcmyk(84.5%, 62.1%, 0%, 54.5%)
CIE-LABlab(20.79, 19.60, -44.07)
CIE-LCHlch(20.79, 48.23, 293.98°)
OKLaboklab(32.44% -0.0115 -0.1274)
OKLCHoklch(32.44% 0.128 264.8)
XYZxyz(4.3014, 3.1904, 16.9087)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122C74 #745A12
analogous
#125D74 #122C74 #291274
triadic
#122C74 #74122C #2C7412
tetradic
#122C74 #74125D #745A12 #127429
square
#122C74 #74125D #745A12 #127429
split-complementary
#122C74 #742912 #5D7412
monochromatic
#040A1A #0A183F #122C74 #1A40A9 #2355DD

Accessibility & contrast

On white

12.82
#122C74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #122C74
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122C74#FFFFFF#000000##FFFFFF
##122C741.0012.821.6412.82
#FFFFFF12.821.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003776
Deuteranopia (green-blind)
#002E73
Tritanopia (blue-blind)
#003E4B
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #122c74;
/* rgb */ color: rgb(18, 44, 116);
/* oklch */ color: oklch(32.4% 0.128 264.8);
Tailwind
colors: {
  custom: {
    50: '#63649d',
    500: '#122c74',
    950: '#000000',
  },
}
SCSS
$custom: #122c74;
$custom-light: #63649d;
$custom-dark: #000000;
JSON
{
  "hex": "#122c74",
  "rgb": {
    "r": 18,
    "g": 44,
    "b": 116
  },
  "hsl": {
    "h": 224.082,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.32442,
    "c": 0.12794,
    "h": 264.8
  },
  "luminance": 0.03191
}

Semantic roles & 50–950 ramp

primary
#122C74
secondary
#AB8C37
accent
#BF38F0
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #122C74

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

Preview Lab → · Contrast checker → · Palette generator →

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