#122676#122676

#122676 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.4% C 0.139 H 266.7°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#122676
RGBrgb(18, 38, 118)
HSLhsl(228, 74%, 27%)
HSVhsv(228, 85%, 46%)
CMYKcmyk(84.7%, 67.8%, 0%, 53.7%)
CIE-LABlab(19.32, 24.70, -47.76)
CIE-LCHlch(19.32, 53.77, 297.34°)
OKLaboklab(31.41% -0.0079 -0.1383)
OKLCHoklch(31.41% 0.139 266.7)
XYZxyz(4.2114, 2.8223, 17.4588)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122676 #766212
analogous
#125876 #122676 #301276
triadic
#122676 #761226 #267612
tetradic
#122676 #761258 #766212 #127630
square
#122676 #761258 #766212 #127630
split-complementary
#122676 #763012 #587612
monochromatic
#04091B #0A1541 #122676 #1A37AB #254ADE

Accessibility & contrast

On white

13.42
#122676 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#122676 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122676
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122676#FFFFFF#000000##FFFFFF
##1226761.0013.421.5613.42
#FFFFFF13.421.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003479
Deuteranopia (green-blind)
#002A75
Tritanopia (blue-blind)
#003B4A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #122676;
/* rgb */ color: rgb(18, 38, 118);
/* oklch */ color: oklch(31.4% 0.139 266.7);
Tailwind
colors: {
  custom: {
    50: '#64609e',
    500: '#122676',
    950: '#000000',
  },
}
SCSS
$custom: #122676;
$custom-light: #64609e;
$custom-dark: #000000;
JSON
{
  "hex": "#122676",
  "rgb": {
    "r": 18,
    "g": 38,
    "b": 118
  },
  "hsl": {
    "h": 228,
    "s": 73.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.31408,
    "c": 0.13854,
    "h": 266.7
  },
  "luminance": 0.02823
}

Semantic roles & 50–950 ramp

primary
#122676
secondary
#AD9537
accent
#CB38F0
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #122676

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

Preview Lab → · Contrast checker → · Palette generator →

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