#122476#122476

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

Color values

HEX#122476
RGBrgb(18, 36, 118)
HSLhsl(229, 74%, 27%)
HSVhsv(229, 85%, 46%)
CMYKcmyk(84.7%, 69.5%, 0%, 53.7%)
CIE-LABlab(18.79, 26.09, -48.63)
CIE-LCHlch(18.79, 55.19, 298.22°)
OKLaboklab(31.02% -0.0069 -0.1409)
OKLCHoklch(31.02% 0.141 267.2)
XYZxyz(4.1492, 2.6979, 17.4381)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122476 #766412
analogous
#125676 #122476 #321276
triadic
#122476 #761224 #247612
tetradic
#122476 #761256 #766412 #127632
square
#122476 #761256 #766412 #127632
split-complementary
#122476 #763212 #567612
monochromatic
#04081B #0A1441 #122476 #1A34AB #2546DE

Accessibility & contrast

On white

13.64
#122476 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#122476 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122476
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122476#FFFFFF#000000##FFFFFF
##1224761.0013.641.5413.64
#FFFFFF13.641.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003379
Deuteranopia (green-blind)
#002974
Tritanopia (blue-blind)
#003A49
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #122476;
/* rgb */ color: rgb(18, 36, 118);
/* oklch */ color: oklch(31.0% 0.141 267.2);
Tailwind
colors: {
  custom: {
    50: '#645e9e',
    500: '#122476',
    950: '#000000',
  },
}
SCSS
$custom: #122476;
$custom-light: #645e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#122476",
  "rgb": {
    "r": 18,
    "g": 36,
    "b": 118
  },
  "hsl": {
    "h": 229.2,
    "s": 73.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.31021,
    "c": 0.14103,
    "h": 267.2
  },
  "luminance": 0.02698
}

Semantic roles & 50–950 ramp

primary
#122476
secondary
#AD9737
accent
#CF38F0
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #122476

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

Preview Lab → · Contrast checker → · Palette generator →

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