#122673#122673

#122673 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.1% C 0.134 H 266.7°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#122673
RGBrgb(18, 38, 115)
HSLhsl(228, 73%, 26%)
HSVhsv(228, 84%, 45%)
CMYKcmyk(84.3%, 67%, 0%, 54.9%)
CIE-LABlab(19.02, 23.48, -46.32)
CIE-LCHlch(19.02, 51.93, 296.88°)
OKLaboklab(31.1% -0.0078 -0.1341)
OKLCHoklch(31.1% 0.134 266.7)
XYZxyz(4.0360, 2.7522, 16.5348)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122673 #735F12
analogous
#125673 #122673 #2E1273
triadic
#122673 #731226 #267312
tetradic
#122673 #731256 #735F12 #12732E
square
#122673 #731256 #735F12 #12732E
split-complementary
#122673 #732E12 #567312
monochromatic
#04091A #0A153E #122673 #1A37A8 #2349DD

Accessibility & contrast

On white

13.54
#122673 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#122673 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122673
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122673#FFFFFF#000000##FFFFFF
##1226731.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003375
Deuteranopia (green-blind)
#002A72
Tritanopia (blue-blind)
#003A48
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #122673;
/* rgb */ color: rgb(18, 38, 115);
/* oklch */ color: oklch(31.1% 0.134 266.7);
Tailwind
colors: {
  custom: {
    50: '#63609c',
    500: '#122673',
    950: '#000000',
  },
}
SCSS
$custom: #122673;
$custom-light: #63609c;
$custom-dark: #000000;
JSON
{
  "hex": "#122673",
  "rgb": {
    "r": 18,
    "g": 38,
    "b": 115
  },
  "hsl": {
    "h": 227.629,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.311,
    "c": 0.13432,
    "h": 266.7
  },
  "luminance": 0.02753
}

Semantic roles & 50–950 ramp

primary
#122673
secondary
#AA9237
accent
#CA38F0
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #122673

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

Preview Lab → · Contrast checker → · Palette generator →

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