#122168#122168

#122168 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.0% C 0.125 H 268.0°. Best body text is #FFFFFF at 14.55:1 contrast (WCAG AA passes).

Color values

HEX#122168
RGBrgb(18, 33, 104)
HSLhsl(230, 70%, 24%)
HSVhsv(230, 83%, 41%)
CMYKcmyk(82.7%, 68.3%, 0%, 59.2%)
CIE-LABlab(16.58, 22.54, -43.18)
CIE-LCHlch(16.58, 48.71, 297.56°)
OKLaboklab(28.97% -0.0044 -0.125)
OKLCHoklch(28.97% 0.125 268)
XYZxyz(3.2911, 2.2154, 13.3482)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122168 #685912
analogous
#124C68 #122168 #2E1268
triadic
#122168 #681221 #216812
tetradic
#122168 #68124C #685912 #12682E
square
#122168 #68124C #685912 #12682E
split-complementary
#122168 #682E12 #4C6812
monochromatic
#05081A #091034 #122168 #1B329C #2442D0

Accessibility & contrast

On white

14.55
#122168 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#122168 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122168
14.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122168#FFFFFF#000000##FFFFFF
##1221681.0014.551.4414.55
#FFFFFF14.551.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6A
Deuteranopia (green-blind)
#002567
Tritanopia (blue-blind)
#003441
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #122168;
/* rgb */ color: rgb(18, 33, 104);
/* oklch */ color: oklch(29.0% 0.125 268.0);
Tailwind
colors: {
  custom: {
    50: '#605c94',
    500: '#122168',
    950: '#000000',
  },
}
SCSS
$custom: #122168;
$custom-light: #605c94;
$custom-dark: #000000;
JSON
{
  "hex": "#122168",
  "rgb": {
    "r": 18,
    "g": 33,
    "b": 104
  },
  "hsl": {
    "h": 229.535,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.28969,
    "c": 0.12504,
    "h": 268
  },
  "luminance": 0.02216
}

Semantic roles & 50–950 ramp

primary
#122168
secondary
#A08D36
accent
#CE3BED
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #122168

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

Preview Lab → · Contrast checker → · Palette generator →

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