#122167#122167

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

Color values

HEX#122167
RGBrgb(18, 33, 103)
HSLhsl(229, 70%, 24%)
HSVhsv(229, 83%, 40%)
CMYKcmyk(82.5%, 68%, 0%, 59.6%)
CIE-LABlab(16.48, 22.13, -42.69)
CIE-LCHlch(16.48, 48.09, 297.40°)
OKLaboklab(28.87% -0.0044 -0.1235)
OKLCHoklch(28.87% 0.124 268)
XYZxyz(3.2406, 2.1952, 13.0823)
Luminance0.0220 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122167 #675812
analogous
#124B67 #122167 #2D1267
triadic
#122167 #671221 #216712
tetradic
#122167 #67124B #675812 #12672D
square
#122167 #67124B #675812 #12672D
split-complementary
#122167 #672D12 #4B6712
monochromatic
#05081A #091033 #122167 #1B329B #2442CF

Accessibility & contrast

On white

14.59
#122167 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #122167
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122167#FFFFFF#000000##FFFFFF
##1221671.0014.591.4414.59
#FFFFFF14.591.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D69
Deuteranopia (green-blind)
#002566
Tritanopia (blue-blind)
#003340
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #122167;
/* rgb */ color: rgb(18, 33, 103);
/* oklch */ color: oklch(28.9% 0.124 268.0);
Tailwind
colors: {
  custom: {
    50: '#605c93',
    500: '#122167',
    950: '#000000',
  },
}
SCSS
$custom: #122167;
$custom-light: #605c93;
$custom-dark: #000000;
JSON
{
  "hex": "#122167",
  "rgb": {
    "r": 18,
    "g": 33,
    "b": 103
  },
  "hsl": {
    "h": 229.412,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.28866,
    "c": 0.1236,
    "h": 268
  },
  "luminance": 0.02196
}

Semantic roles & 50–950 ramp

primary
#122167
secondary
#9F8C36
accent
#CE3BED
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#05040D
muted
#79797E

Preview Lab

Preview with #122167

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

Preview Lab → · Contrast checker → · Palette generator →

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