#122672#122672

#122672 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.0% C 0.133 H 266.6°. Best body text is #FFFFFF at 13.58:1 contrast (WCAG AA passes).

Color values

HEX#122672
RGBrgb(18, 38, 114)
HSLhsl(228, 73%, 26%)
HSVhsv(228, 84%, 45%)
CMYKcmyk(84.2%, 66.7%, 0%, 55.3%)
CIE-LABlab(18.93, 23.07, -45.83)
CIE-LCHlch(18.93, 51.31, 296.72°)
OKLaboklab(31% -0.0078 -0.1327)
OKLCHoklch(31% 0.133 266.6)
XYZxyz(3.9788, 2.7293, 16.2334)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122672 #725E12
analogous
#125672 #122672 #2E1272
triadic
#122672 #721226 #267212
tetradic
#122672 #721256 #725E12 #12722E
square
#122672 #721256 #725E12 #12722E
split-complementary
#122672 #722E12 #567212
monochromatic
#04091A #0A143D #122672 #1A38A7 #2349DC

Accessibility & contrast

On white

13.58
#122672 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #122672
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122672#FFFFFF#000000##FFFFFF
##1226721.0013.581.5513.58
#FFFFFF13.581.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #122672;
/* rgb */ color: rgb(18, 38, 114);
/* oklch */ color: oklch(31.0% 0.133 266.6);
Tailwind
colors: {
  custom: {
    50: '#63609b',
    500: '#122672',
    950: '#000000',
  },
}
SCSS
$custom: #122672;
$custom-light: #63609b;
$custom-dark: #000000;
JSON
{
  "hex": "#122672",
  "rgb": {
    "r": 18,
    "g": 38,
    "b": 114
  },
  "hsl": {
    "h": 227.5,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.30998,
    "c": 0.1329,
    "h": 266.6
  },
  "luminance": 0.0273
}

Semantic roles & 50–950 ramp

primary
#122672
secondary
#A99137
accent
#C938EF
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #122672

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

Preview Lab → · Contrast checker → · Palette generator →

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