#122773#122773

#122773 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.3% C 0.133 H 266.4°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#122773
RGBrgb(18, 39, 115)
HSLhsl(227, 73%, 26%)
HSVhsv(227, 84%, 45%)
CMYKcmyk(84.3%, 66.1%, 0%, 54.9%)
CIE-LABlab(19.30, 22.77, -45.87)
CIE-LCHlch(19.30, 51.21, 296.40°)
OKLaboklab(31.3% -0.0084 -0.1328)
OKLCHoklch(31.3% 0.133 266.4)
XYZxyz(4.0684, 2.8170, 16.5456)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122773 #735E12
analogous
#125773 #122773 #2D1273
triadic
#122773 #731227 #277312
tetradic
#122773 #731257 #735E12 #12732D
square
#122773 #731257 #735E12 #12732D
split-complementary
#122773 #732D12 #577312
monochromatic
#04091A #0A153E #122773 #1A39A8 #234BDD

Accessibility & contrast

On white

13.43
#122773 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#122773 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122773
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122773#FFFFFF#000000##FFFFFF
##1227731.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #122773;
/* rgb */ color: rgb(18, 39, 115);
/* oklch */ color: oklch(31.3% 0.133 266.4);
Tailwind
colors: {
  custom: {
    50: '#63609c',
    500: '#122773',
    950: '#000000',
  },
}
SCSS
$custom: #122773;
$custom-light: #63609c;
$custom-dark: #000000;
JSON
{
  "hex": "#122773",
  "rgb": {
    "r": 18,
    "g": 39,
    "b": 115
  },
  "hsl": {
    "h": 227.01,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.31301,
    "c": 0.13304,
    "h": 266.4
  },
  "luminance": 0.02817
}

Semantic roles & 50–950 ramp

primary
#122773
secondary
#AA9137
accent
#C838F0
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #122773

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

Preview Lab → · Contrast checker → · Palette generator →

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