#122E72#122E72

#122E72 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 32.7% C 0.122 H 263.9°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#122E72
RGBrgb(18, 46, 114)
HSLhsl(223, 73%, 26%)
HSVhsv(223, 84%, 45%)
CMYKcmyk(84.2%, 59.6%, 0%, 55.3%)
CIE-LABlab(21.20, 17.32, -42.13)
CIE-LCHlch(21.20, 45.54, 292.34°)
OKLaboklab(32.69% -0.013 -0.1217)
OKLCHoklch(32.69% 0.122 263.9)
XYZxyz(4.2626, 3.2970, 16.3280)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122E72 #725612
analogous
#125E72 #122E72 #261272
triadic
#122E72 #72122E #2E7212
tetradic
#122E72 #72125E #725612 #127226
square
#122E72 #72125E #725612 #127226
split-complementary
#122E72 #722612 #5E7212
monochromatic
#040B1A #0A193D #122E72 #1A43A7 #2359DC

Accessibility & contrast

On white

12.66
#122E72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#122E72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122E72
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122E72#FFFFFF#000000##FFFFFF
##122E721.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003774
Deuteranopia (green-blind)
#002F71
Tritanopia (blue-blind)
#003F4B
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #122e72;
/* rgb */ color: rgb(18, 46, 114);
/* oklch */ color: oklch(32.7% 0.122 263.9);
Tailwind
colors: {
  custom: {
    50: '#62669b',
    500: '#122e72',
    950: '#000000',
  },
}
SCSS
$custom: #122e72;
$custom-light: #62669b;
$custom-dark: #000000;
JSON
{
  "hex": "#122e72",
  "rgb": {
    "r": 18,
    "g": 46,
    "b": 114
  },
  "hsl": {
    "h": 222.5,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.32691,
    "c": 0.12237,
    "h": 263.9
  },
  "luminance": 0.03297
}

Semantic roles & 50–950 ramp

primary
#122E72
secondary
#A98837
accent
#BA38EF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #122E72

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

Preview Lab → · Contrast checker → · Palette generator →

#122E72 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva