#122973#122973

#122973 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 31.7% C 0.130 H 265.8°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#122973
RGBrgb(18, 41, 115)
HSLhsl(226, 73%, 26%)
HSVhsv(226, 84%, 45%)
CMYKcmyk(84.3%, 64.3%, 0%, 54.9%)
CIE-LABlab(19.85, 21.34, -44.96)
CIE-LCHlch(19.85, 49.77, 295.39°)
OKLaboklab(31.71% -0.0096 -0.1301)
OKLCHoklch(31.71% 0.13 265.8)
XYZxyz(4.1358, 2.9518, 16.5681)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122973 #735C12
analogous
#125973 #122973 #2B1273
triadic
#122973 #731229 #297312
tetradic
#122973 #731259 #735C12 #12732B
square
#122973 #731259 #735C12 #12732B
split-complementary
#122973 #732B12 #597312
monochromatic
#04091A #0A163E #122973 #1A3CA8 #234FDD

Accessibility & contrast

On white

13.20
#122973 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#122973 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122973
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122973#FFFFFF#000000##FFFFFF
##1229731.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #122973;
/* rgb */ color: rgb(18, 41, 115);
/* oklch */ color: oklch(31.7% 0.130 265.8);
Tailwind
colors: {
  custom: {
    50: '#63629c',
    500: '#122973',
    950: '#000000',
  },
}
SCSS
$custom: #122973;
$custom-light: #63629c;
$custom-dark: #000000;
JSON
{
  "hex": "#122973",
  "rgb": {
    "r": 18,
    "g": 41,
    "b": 115
  },
  "hsl": {
    "h": 225.773,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.31712,
    "c": 0.13045,
    "h": 265.8
  },
  "luminance": 0.02952
}

Semantic roles & 50–950 ramp

primary
#122973
secondary
#AA8F37
accent
#C438F0
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #122973

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

Preview Lab → · Contrast checker → · Palette generator →

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