#122A73#122A73

#122A73 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 31.9% C 0.129 H 265.4°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#122A73
RGBrgb(18, 42, 115)
HSLhsl(225, 73%, 26%)
HSVhsv(225, 84%, 45%)
CMYKcmyk(84.3%, 63.5%, 0%, 54.9%)
CIE-LABlab(20.13, 20.62, -44.50)
CIE-LCHlch(20.13, 49.05, 294.86°)
OKLaboklab(31.92% -0.0103 -0.1287)
OKLCHoklch(31.92% 0.129 265.4)
XYZxyz(4.1708, 3.0218, 16.5798)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122A73 #735B12
analogous
#125A73 #122A73 #2A1273
triadic
#122A73 #73122A #2A7312
tetradic
#122A73 #73125A #735B12 #12732A
square
#122A73 #73125A #735B12 #12732A
split-complementary
#122A73 #732A12 #5A7312
monochromatic
#040A1A #0A173E #122A73 #1A3DA8 #2351DD

Accessibility & contrast

On white

13.09
#122A73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#122A73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122A73
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122A73#FFFFFF#000000##FFFFFF
##122A731.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #122a73;
/* rgb */ color: rgb(18, 42, 115);
/* oklch */ color: oklch(31.9% 0.129 265.4);
Tailwind
colors: {
  custom: {
    50: '#63639c',
    500: '#122a73',
    950: '#000000',
  },
}
SCSS
$custom: #122a73;
$custom-light: #63639c;
$custom-dark: #000000;
JSON
{
  "hex": "#122a73",
  "rgb": {
    "r": 18,
    "g": 42,
    "b": 115
  },
  "hsl": {
    "h": 225.155,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.31921,
    "c": 0.12914,
    "h": 265.4
  },
  "luminance": 0.03022
}

Semantic roles & 50–950 ramp

primary
#122A73
secondary
#AA8D37
accent
#C238F0
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #122A73

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

Preview Lab → · Contrast checker → · Palette generator →

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