#122073#122073

#122073 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.0% C 0.142 H 268.1°. Best body text is #FFFFFF at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#122073
RGBrgb(18, 32, 115)
HSLhsl(231, 73%, 26%)
HSVhsv(231, 84%, 45%)
CMYKcmyk(84.3%, 72.2%, 0%, 54.9%)
CIE-LABlab(17.46, 27.65, -48.89)
CIE-LCHlch(17.46, 56.17, 299.49°)
OKLaboklab(29.95% -0.0047 -0.1416)
OKLCHoklch(29.95% 0.142 268.1)
XYZxyz(3.8594, 2.3990, 16.4760)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122073 #736512
analogous
#125073 #122073 #341273
triadic
#122073 #731220 #207312
tetradic
#122073 #731250 #736512 #127334
square
#122073 #731250 #736512 #127334
split-complementary
#122073 #733412 #507312
monochromatic
#04071A #0A113E #122073 #1A2FA8 #233EDD

Accessibility & contrast

On white

14.19
#122073 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#122073 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122073
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122073#FFFFFF#000000##FFFFFF
##1220731.0014.191.4814.19
#FFFFFF14.191.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003076
Deuteranopia (green-blind)
#002671
Tritanopia (blue-blind)
#003746
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #122073;
/* rgb */ color: rgb(18, 32, 115);
/* oklch */ color: oklch(30.0% 0.142 268.1);
Tailwind
colors: {
  custom: {
    50: '#645b9c',
    500: '#122073',
    950: '#000000',
  },
}
SCSS
$custom: #122073;
$custom-light: #645b9c;
$custom-dark: #000000;
JSON
{
  "hex": "#122073",
  "rgb": {
    "r": 18,
    "g": 32,
    "b": 115
  },
  "hsl": {
    "h": 231.34,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.29954,
    "c": 0.14173,
    "h": 268.1
  },
  "luminance": 0.02399
}

Semantic roles & 50–950 ramp

primary
#122073
secondary
#AA9937
accent
#D538F0
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #122073

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

Preview Lab → · Contrast checker → · Palette generator →

#122073 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva