#122066#122066

#122066 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.6% C 0.123 H 268.3°. Best body text is #FFFFFF at 14.75:1 contrast (WCAG AA passes).

Color values

HEX#122066
RGBrgb(18, 32, 102)
HSLhsl(230, 70%, 24%)
HSVhsv(230, 82%, 40%)
CMYKcmyk(82.4%, 68.6%, 0%, 60%)
CIE-LABlab(16.11, 22.44, -42.64)
CIE-LCHlch(16.11, 48.19, 297.75°)
OKLaboklab(28.56% -0.0037 -0.1234)
OKLCHoklch(28.56% 0.123 268.3)
XYZxyz(3.1634, 2.1206, 12.8104)
Luminance0.0212 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122066 #665812
analogous
#124A66 #122066 #2E1266
triadic
#122066 #661220 #206612
tetradic
#122066 #66124A #665812 #12662E
square
#122066 #66124A #665812 #12662E
split-complementary
#122066 #662E12 #4A6612
monochromatic
#05081A #091032 #122066 #1B309A #2441CE

Accessibility & contrast

On white

14.75
#122066 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#122066 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122066
14.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122066#FFFFFF#000000##FFFFFF
##1220661.0014.751.4214.75
#FFFFFF14.751.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C68
Deuteranopia (green-blind)
#002465
Tritanopia (blue-blind)
#00333F
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #122066;
/* rgb */ color: rgb(18, 32, 102);
/* oklch */ color: oklch(28.6% 0.123 268.3);
Tailwind
colors: {
  custom: {
    50: '#605b92',
    500: '#122066',
    950: '#000000',
  },
}
SCSS
$custom: #122066;
$custom-light: #605b92;
$custom-dark: #000000;
JSON
{
  "hex": "#122066",
  "rgb": {
    "r": 18,
    "g": 32,
    "b": 102
  },
  "hsl": {
    "h": 230,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.28562,
    "c": 0.12346,
    "h": 268.3
  },
  "luminance": 0.02121
}

Semantic roles & 50–950 ramp

primary
#122066
secondary
#9E8C36
accent
#CF3BED
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#05040D
muted
#79797E

Preview Lab

Preview with #122066

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

Preview Lab → · Contrast checker → · Palette generator →

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