#122660#122660

#122660 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.3% C 0.106 H 265.7°. Best body text is #FFFFFF at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#122660
RGBrgb(18, 38, 96)
HSLhsl(225, 68%, 22%)
HSVhsv(225, 81%, 38%)
CMYKcmyk(81.3%, 60.4%, 0%, 62.4%)
CIE-LABlab(17.27, 15.54, -36.79)
CIE-LCHlch(17.27, 39.94, 292.90°)
OKLaboklab(29.25% -0.0081 -0.1061)
OKLCHoklch(29.25% 0.106 265.7)
XYZxyz(3.0531, 2.3590, 11.3585)
Luminance0.0236 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122660 #604C12
analogous
#124D60 #122660 #251260
triadic
#122660 #601226 #266012
tetradic
#122660 #60124D #604C12 #126025
square
#122660 #60124D #604C12 #126025
split-complementary
#122660 #602512 #4D6012
monochromatic
#050A1A #08122C #122660 #1C3A94 #254FC7

Accessibility & contrast

On white

14.27
#122660 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#122660 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122660
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122660#FFFFFF#000000##FFFFFF
##1226601.0014.271.4714.27
#FFFFFF14.271.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E62
Deuteranopia (green-blind)
#00275F
Tritanopia (blue-blind)
#00343F
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #122660;
/* rgb */ color: rgb(18, 38, 96);
/* oklch */ color: oklch(29.3% 0.106 265.7);
Tailwind
colors: {
  custom: {
    50: '#5e5f8e',
    500: '#122660',
    950: '#000000',
  },
}
SCSS
$custom: #122660;
$custom-light: #5e5f8e;
$custom-dark: #000000;
JSON
{
  "hex": "#122660",
  "rgb": {
    "r": 18,
    "g": 38,
    "b": 96
  },
  "hsl": {
    "h": 224.615,
    "s": 68.421,
    "l": 22.353
  },
  "oklch": {
    "l": 0.29251,
    "c": 0.10646,
    "h": 265.7
  },
  "luminance": 0.02359
}

Semantic roles & 50–950 ramp

primary
#122660
secondary
#987F36
accent
#BE3DEB
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #122660

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

Preview Lab → · Contrast checker → · Palette generator →

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