#122372#122372

#122372 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.4% C 0.137 H 267.4°. Best body text is #FFFFFF at 13.91:1 contrast (WCAG AA passes).

Color values

HEX#122372
RGBrgb(18, 35, 114)
HSLhsl(229, 73%, 26%)
HSVhsv(229, 84%, 45%)
CMYKcmyk(84.2%, 69.3%, 0%, 55.3%)
CIE-LABlab(18.12, 25.19, -47.15)
CIE-LCHlch(18.12, 53.46, 298.11°)
OKLaboklab(30.41% -0.0061 -0.1366)
OKLCHoklch(30.41% 0.137 267.4)
XYZxyz(3.8867, 2.5451, 16.2027)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122372 #726112
analogous
#125372 #122372 #311272
triadic
#122372 #721223 #237212
tetradic
#122372 #721253 #726112 #127231
square
#122372 #721253 #726112 #127231
split-complementary
#122372 #723112 #537212
monochromatic
#04081A #0A133D #122372 #1A33A7 #2343DC

Accessibility & contrast

On white

13.91
#122372 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#122372 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122372
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122372#FFFFFF#000000##FFFFFF
##1223721.0013.911.5113.91
#FFFFFF13.911.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #122372;
/* rgb */ color: rgb(18, 35, 114);
/* oklch */ color: oklch(30.4% 0.137 267.4);
Tailwind
colors: {
  custom: {
    50: '#635d9b',
    500: '#122372',
    950: '#000000',
  },
}
SCSS
$custom: #122372;
$custom-light: #635d9b;
$custom-dark: #000000;
JSON
{
  "hex": "#122372",
  "rgb": {
    "r": 18,
    "g": 35,
    "b": 114
  },
  "hsl": {
    "h": 229.375,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.30408,
    "c": 0.1367,
    "h": 267.4
  },
  "luminance": 0.02546
}

Semantic roles & 50–950 ramp

primary
#122372
secondary
#A99537
accent
#CF38EF
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #122372

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

Preview Lab → · Contrast checker → · Palette generator →

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