#122976#122976

#122976 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.0% C 0.135 H 265.9°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#122976
RGBrgb(18, 41, 118)
HSLhsl(226, 74%, 27%)
HSVhsv(226, 85%, 46%)
CMYKcmyk(84.7%, 65.3%, 0%, 53.7%)
CIE-LABlab(20.13, 22.58, -46.43)
CIE-LCHlch(20.13, 51.63, 295.93°)
OKLaboklab(32.01% -0.0096 -0.1344)
OKLCHoklch(32.01% 0.135 265.9)
XYZxyz(4.3113, 3.0220, 17.4921)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122976 #765F12
analogous
#125B76 #122976 #2D1276
triadic
#122976 #761229 #297612
tetradic
#122976 #76125B #765F12 #12762D
square
#122976 #76125B #765F12 #12762D
split-complementary
#122976 #762D12 #5B7612
monochromatic
#04091B #0A1741 #122976 #1A3BAB #254FDE

Accessibility & contrast

On white

13.09
#122976 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#122976 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122976
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122976#FFFFFF#000000##FFFFFF
##1229761.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003578
Deuteranopia (green-blind)
#002C75
Tritanopia (blue-blind)
#003D4B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #122976;
/* rgb */ color: rgb(18, 41, 118);
/* oklch */ color: oklch(32.0% 0.135 265.9);
Tailwind
colors: {
  custom: {
    50: '#64629e',
    500: '#122976',
    950: '#000000',
  },
}
SCSS
$custom: #122976;
$custom-light: #64629e;
$custom-dark: #000000;
JSON
{
  "hex": "#122976",
  "rgb": {
    "r": 18,
    "g": 41,
    "b": 118
  },
  "hsl": {
    "h": 226.2,
    "s": 73.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.32008,
    "c": 0.13472,
    "h": 265.9
  },
  "luminance": 0.03022
}

Semantic roles & 50–950 ramp

primary
#122976
secondary
#AD9237
accent
#C638F0
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #122976

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

Preview Lab → · Contrast checker → · Palette generator →

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