#122B73#122B73

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

Color values

HEX#122B73
RGBrgb(18, 43, 115)
HSLhsl(225, 73%, 26%)
HSVhsv(225, 84%, 45%)
CMYKcmyk(84.3%, 62.6%, 0%, 54.9%)
CIE-LABlab(20.42, 19.90, -44.04)
CIE-LCHlch(20.42, 48.33, 294.32°)
OKLaboklab(32.13% -0.0109 -0.1273)
OKLCHoklch(32.13% 0.128 265.1)
XYZxyz(4.2067, 3.0937, 16.5918)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122B73 #735A12
analogous
#125B73 #122B73 #291273
triadic
#122B73 #73122B #2B7312
tetradic
#122B73 #73125B #735A12 #127329
square
#122B73 #73125B #735A12 #127329
split-complementary
#122B73 #732912 #5B7312
monochromatic
#040A1A #0A173E #122B73 #1A3FA8 #2353DD

Accessibility & contrast

On white

12.97
#122B73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #122B73
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122B73#FFFFFF#000000##FFFFFF
##122B731.0012.971.6212.97
#FFFFFF12.971.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #122b73;
/* rgb */ color: rgb(18, 43, 115);
/* oklch */ color: oklch(32.1% 0.128 265.1);
Tailwind
colors: {
  custom: {
    50: '#63639c',
    500: '#122b73',
    950: '#000000',
  },
}
SCSS
$custom: #122b73;
$custom-light: #63639c;
$custom-dark: #000000;
JSON
{
  "hex": "#122b73",
  "rgb": {
    "r": 18,
    "g": 43,
    "b": 115
  },
  "hsl": {
    "h": 224.536,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.32133,
    "c": 0.12782,
    "h": 265.1
  },
  "luminance": 0.03094
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #122B73

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

Preview Lab → · Contrast checker → · Palette generator →

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