#122473#122473

#122473 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.7% C 0.137 H 267.2°. Best body text is #FFFFFF at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#122473
RGBrgb(18, 36, 115)
HSLhsl(229, 73%, 26%)
HSVhsv(229, 84%, 45%)
CMYKcmyk(84.3%, 68.7%, 0%, 54.9%)
CIE-LABlab(18.49, 24.89, -47.20)
CIE-LCHlch(18.49, 53.36, 297.80°)
OKLaboklab(30.71% -0.0067 -0.1367)
OKLCHoklch(30.71% 0.137 267.2)
XYZxyz(3.9738, 2.6277, 16.5141)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122473 #736112
analogous
#125473 #122473 #301273
triadic
#122473 #731224 #247312
tetradic
#122473 #731254 #736112 #127330
square
#122473 #731254 #736112 #127330
split-complementary
#122473 #733012 #547312
monochromatic
#04081A #0A133E #122473 #1A35A8 #2345DD

Accessibility & contrast

On white

13.77
#122473 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#122473 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122473
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122473#FFFFFF#000000##FFFFFF
##1224731.0013.771.5313.77
#FFFFFF13.771.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003275
Deuteranopia (green-blind)
#002872
Tritanopia (blue-blind)
#003948
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #122473;
/* rgb */ color: rgb(18, 36, 115);
/* oklch */ color: oklch(30.7% 0.137 267.2);
Tailwind
colors: {
  custom: {
    50: '#635e9c',
    500: '#122473',
    950: '#000000',
  },
}
SCSS
$custom: #122473;
$custom-light: #635e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#122473",
  "rgb": {
    "r": 18,
    "g": 36,
    "b": 115
  },
  "hsl": {
    "h": 228.866,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.30706,
    "c": 0.13684,
    "h": 267.2
  },
  "luminance": 0.02628
}

Semantic roles & 50–950 ramp

primary
#122473
secondary
#AA9437
accent
#CE38F0
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #122473

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

Preview Lab → · Contrast checker → · Palette generator →

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