#122273#122273

#122273 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.3% C 0.139 H 267.7°. Best body text is #FFFFFF at 13.98:1 contrast (WCAG AA passes).

Color values

HEX#122273
RGBrgb(18, 34, 115)
HSLhsl(230, 73%, 26%)
HSVhsv(230, 84%, 45%)
CMYKcmyk(84.3%, 70.4%, 0%, 54.9%)
CIE-LABlab(17.96, 26.28, -48.06)
CIE-LCHlch(17.96, 54.77, 298.67°)
OKLaboklab(30.32% -0.0056 -0.1392)
OKLCHoklch(30.32% 0.139 267.7)
XYZxyz(3.9149, 2.5100, 16.4945)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122273 #736312
analogous
#125273 #122273 #321273
triadic
#122273 #731222 #227312
tetradic
#122273 #731252 #736312 #127332
square
#122273 #731252 #736312 #127332
split-complementary
#122273 #733212 #527312
monochromatic
#04081A #0A123E #122273 #1A32A8 #2341DD

Accessibility & contrast

On white

13.98
#122273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#122273 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122273
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122273#FFFFFF#000000##FFFFFF
##1222731.0013.981.5013.98
#FFFFFF13.981.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003176
Deuteranopia (green-blind)
#002772
Tritanopia (blue-blind)
#003847
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #122273;
/* rgb */ color: rgb(18, 34, 115);
/* oklch */ color: oklch(30.3% 0.139 267.7);
Tailwind
colors: {
  custom: {
    50: '#645d9c',
    500: '#122273',
    950: '#000000',
  },
}
SCSS
$custom: #122273;
$custom-light: #645d9c;
$custom-dark: #000000;
JSON
{
  "hex": "#122273",
  "rgb": {
    "r": 18,
    "g": 34,
    "b": 115
  },
  "hsl": {
    "h": 230.103,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.30324,
    "c": 0.13931,
    "h": 267.7
  },
  "luminance": 0.0251
}

Semantic roles & 50–950 ramp

primary
#122273
secondary
#AA9737
accent
#D138F0
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #122273

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

Preview Lab → · Contrast checker → · Palette generator →

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