#122664#122664

#122664 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.6% C 0.113 H 266.0°. Best body text is #FFFFFF at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#122664
RGBrgb(18, 38, 100)
HSLhsl(225, 69%, 23%)
HSVhsv(225, 82%, 39%)
CMYKcmyk(82%, 62%, 0%, 60.8%)
CIE-LABlab(17.62, 17.24, -38.86)
CIE-LCHlch(17.62, 42.51, 293.93°)
OKLaboklab(29.63% -0.0079 -0.1122)
OKLCHoklch(29.63% 0.113 266)
XYZxyz(3.2420, 2.4346, 12.3532)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122664 #645012
analogous
#124F64 #122664 #271264
triadic
#122664 #641226 #266412
tetradic
#122664 #64124F #645012 #126427
square
#122664 #64124F #645012 #126427
split-complementary
#122664 #642712 #4F6412
monochromatic
#050A1A #091230 #122664 #1B3A98 #254DCC

Accessibility & contrast

On white

14.12
#122664 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#122664 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122664
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122664#FFFFFF#000000##FFFFFF
##1226641.0014.121.4914.12
#FFFFFF14.121.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F66
Deuteranopia (green-blind)
#002863
Tritanopia (blue-blind)
#003641
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #122664;
/* rgb */ color: rgb(18, 38, 100);
/* oklch */ color: oklch(29.6% 0.113 266.0);
Tailwind
colors: {
  custom: {
    50: '#5f5f91',
    500: '#122664',
    950: '#000000',
  },
}
SCSS
$custom: #122664;
$custom-light: #5f5f91;
$custom-dark: #000000;
JSON
{
  "hex": "#122664",
  "rgb": {
    "r": 18,
    "g": 38,
    "b": 100
  },
  "hsl": {
    "h": 225.366,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.29625,
    "c": 0.1125,
    "h": 266
  },
  "luminance": 0.02435
}

Semantic roles & 50–950 ramp

primary
#122664
secondary
#9C8336
accent
#C13BEC
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040D
muted
#79797D

Preview Lab

Preview with #122664

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

Preview Lab → · Contrast checker → · Palette generator →

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