#122366#122366

#122366 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 29.2% C 0.120 H 267.3°. Best body text is #FFFFFF at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#122366
RGBrgb(18, 35, 102)
HSLhsl(228, 70%, 24%)
HSVhsv(228, 82%, 40%)
CMYKcmyk(82.4%, 65.7%, 0%, 60%)
CIE-LABlab(16.94, 20.27, -41.28)
CIE-LCHlch(16.94, 45.99, 296.16°)
OKLaboklab(29.18% -0.0057 -0.1194)
OKLCHoklch(29.18% 0.12 267.3)
XYZxyz(3.2479, 2.2896, 12.8386)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122366 #665512
analogous
#124D66 #122366 #2B1266
triadic
#122366 #661223 #236612
tetradic
#122366 #66124D #665512 #12662B
square
#122366 #66124D #665512 #12662B
split-complementary
#122366 #662B12 #4D6612
monochromatic
#05091A #091132 #122366 #1B359A #2447CE

Accessibility & contrast

On white

14.40
#122366 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#122366 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122366
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122366#FFFFFF#000000##FFFFFF
##1223661.0014.401.4614.40
#FFFFFF14.401.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E68
Deuteranopia (green-blind)
#002665
Tritanopia (blue-blind)
#003440
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #122366;
/* rgb */ color: rgb(18, 35, 102);
/* oklch */ color: oklch(29.2% 0.120 267.3);
Tailwind
colors: {
  custom: {
    50: '#605d92',
    500: '#122366',
    950: '#000000',
  },
}
SCSS
$custom: #122366;
$custom-light: #605d92;
$custom-dark: #000000;
JSON
{
  "hex": "#122366",
  "rgb": {
    "r": 18,
    "g": 35,
    "b": 102
  },
  "hsl": {
    "h": 227.857,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.29175,
    "c": 0.11952,
    "h": 267.3
  },
  "luminance": 0.0229
}

Semantic roles & 50–950 ramp

primary
#122366
secondary
#9E8936
accent
#C93BED
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#05040D
muted
#79797E

Preview Lab

Preview with #122366

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

Preview Lab → · Contrast checker → · Palette generator →

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