#122B74#122B74

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

Color values

HEX#122B74
RGBrgb(18, 43, 116)
HSLhsl(225, 73%, 26%)
HSVhsv(225, 84%, 45%)
CMYKcmyk(84.5%, 62.9%, 0%, 54.5%)
CIE-LABlab(20.51, 20.32, -44.53)
CIE-LCHlch(20.51, 48.95, 294.52°)
OKLaboklab(32.23% -0.0109 -0.1288)
OKLCHoklch(32.23% 0.129 265.2)
XYZxyz(4.2646, 3.1168, 16.8964)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122B74 #745B12
analogous
#125C74 #122B74 #2A1274
triadic
#122B74 #74122B #2B7412
tetradic
#122B74 #74125C #745B12 #12742A
square
#122B74 #74125C #745B12 #12742A
split-complementary
#122B74 #742A12 #5C7412
monochromatic
#040A1A #0A173F #122B74 #1A3FA9 #2353DD

Accessibility & contrast

On white

12.94
#122B74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #122B74
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122B74#FFFFFF#000000##FFFFFF
##122B741.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003676
Deuteranopia (green-blind)
#002D73
Tritanopia (blue-blind)
#003E4B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #122b74;
/* rgb */ color: rgb(18, 43, 116);
/* oklch */ color: oklch(32.2% 0.129 265.2);
Tailwind
colors: {
  custom: {
    50: '#63639d',
    500: '#122b74',
    950: '#000000',
  },
}
SCSS
$custom: #122b74;
$custom-light: #63639d;
$custom-dark: #000000;
JSON
{
  "hex": "#122b74",
  "rgb": {
    "r": 18,
    "g": 43,
    "b": 116
  },
  "hsl": {
    "h": 224.694,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.32229,
    "c": 0.12926,
    "h": 265.2
  },
  "luminance": 0.03117
}

Semantic roles & 50–950 ramp

primary
#122B74
secondary
#AB8D37
accent
#C138F0
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #122B74

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

Preview Lab → · Contrast checker → · Palette generator →

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