#122165#122165

#122165 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 28.7% C 0.121 H 267.9°. Best body text is #FFFFFF at 14.67:1 contrast (WCAG AA passes).

Color values

HEX#122165
RGBrgb(18, 33, 101)
HSLhsl(229, 70%, 23%)
HSVhsv(229, 82%, 40%)
CMYKcmyk(82.2%, 67.3%, 0%, 60.4%)
CIE-LABlab(16.28, 21.31, -41.70)
CIE-LCHlch(16.28, 46.83, 297.07°)
OKLaboklab(28.66% -0.0043 -0.1206)
OKLCHoklch(28.66% 0.121 267.9)
XYZxyz(3.1415, 2.1555, 12.5599)
Luminance0.0216 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122165 #655612
analogous
#124A65 #122165 #2C1265
triadic
#122165 #651221 #216512
tetradic
#122165 #65124A #655612 #12652C
square
#122165 #65124A #655612 #12652C
split-complementary
#122165 #652C12 #4A6512
monochromatic
#05081A #091031 #122165 #1B3299 #2543CD

Accessibility & contrast

On white

14.67
#122165 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#122165 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122165
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122165#FFFFFF#000000##FFFFFF
##1221651.0014.671.4314.67
#FFFFFF14.671.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #122165;
/* rgb */ color: rgb(18, 33, 101);
/* oklch */ color: oklch(28.7% 0.121 267.9);
Tailwind
colors: {
  custom: {
    50: '#605c92',
    500: '#122165',
    950: '#000000',
  },
}
SCSS
$custom: #122165;
$custom-light: #605c92;
$custom-dark: #000000;
JSON
{
  "hex": "#122165",
  "rgb": {
    "r": 18,
    "g": 33,
    "b": 101
  },
  "hsl": {
    "h": 229.157,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.2866,
    "c": 0.1207,
    "h": 267.9
  },
  "luminance": 0.02156
}

Semantic roles & 50–950 ramp

primary
#122165
secondary
#9D8A36
accent
#CD3BED
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#05040D
muted
#79797E

Preview Lab

Preview with #122165

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

Preview Lab → · Contrast checker → · Palette generator →

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