#122966#122966

#122966 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.5% C 0.111 H 264.8°. Best body text is #FFFFFF at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#122966
RGBrgb(18, 41, 102)
HSLhsl(224, 70%, 24%)
HSVhsv(224, 82%, 40%)
CMYKcmyk(82.4%, 59.8%, 0%, 60%)
CIE-LABlab(18.69, 15.88, -38.43)
CIE-LCHlch(18.69, 41.59, 292.45°)
OKLaboklab(30.48% -0.0101 -0.1109)
OKLCHoklch(30.48% 0.111 264.8)
XYZxyz(3.4398, 2.6734, 12.9025)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122966 #664F12
analogous
#125366 #122966 #251266
triadic
#122966 #661229 #296612
tetradic
#122966 #661253 #664F12 #126625
square
#122966 #661253 #664F12 #126625
split-complementary
#122966 #662512 #536612
monochromatic
#050A1A #091432 #122966 #1B3E9A #2453CE

Accessibility & contrast

On white

13.68
#122966 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#122966 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122966
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122966#FFFFFF#000000##FFFFFF
##1229661.0013.681.5313.68
#FFFFFF13.681.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003268
Deuteranopia (green-blind)
#002A65
Tritanopia (blue-blind)
#003843
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #122966;
/* rgb */ color: rgb(18, 41, 102);
/* oklch */ color: oklch(30.5% 0.111 264.8);
Tailwind
colors: {
  custom: {
    50: '#5f6292',
    500: '#122966',
    950: '#000000',
  },
}
SCSS
$custom: #122966;
$custom-light: #5f6292;
$custom-dark: #000000;
JSON
{
  "hex": "#122966",
  "rgb": {
    "r": 18,
    "g": 41,
    "b": 102
  },
  "hsl": {
    "h": 223.571,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.30479,
    "c": 0.11138,
    "h": 264.8
  },
  "luminance": 0.02674
}

Semantic roles & 50–950 ramp

primary
#122966
secondary
#9E8136
accent
#BC3BED
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#05050D
muted
#7A797E

Preview Lab

Preview with #122966

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

Preview Lab → · Contrast checker → · Palette generator →

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