#123466#123466

#123466 is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.1% C 0.096 H 258.4°. Best body text is #FFFFFF at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#123466
RGBrgb(18, 52, 102)
HSLhsl(216, 70%, 24%)
HSVhsv(216, 82%, 40%)
CMYKcmyk(82.4%, 49%, 0%, 60%)
CIE-LABlab(22.10, 7.86, -32.91)
CIE-LCHlch(22.10, 33.84, 283.43°)
OKLaboklab(33.08% -0.0194 -0.0945)
OKLCHoklch(33.08% 0.096 258.4)
XYZxyz(3.8748, 3.5434, 13.0475)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123466 #664412
analogous
#125E66 #123466 #1A1266
triadic
#123466 #661234 #346612
tetradic
#123466 #66125E #664412 #12661A
square
#123466 #66125E #664412 #12661A
split-complementary
#123466 #661A12 #5E6612
monochromatic
#050D1A #091932 #123466 #1B4F9A #2469CE

Accessibility & contrast

On white

12.29
#123466 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#123466 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123466
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123466#FFFFFF#000000##FFFFFF
##1234661.0012.291.7112.29
#FFFFFF12.291.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193968
Deuteranopia (green-blind)
#053165
Tritanopia (blue-blind)
#004048
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #123466;
/* rgb */ color: rgb(18, 52, 102);
/* oklch */ color: oklch(33.1% 0.096 258.4);
Tailwind
colors: {
  custom: {
    50: '#5e6a92',
    500: '#123466',
    950: '#000000',
  },
}
SCSS
$custom: #123466;
$custom-light: #5e6a92;
$custom-dark: #000000;
JSON
{
  "hex": "#123466",
  "rgb": {
    "r": 18,
    "g": 52,
    "b": 102
  },
  "hsl": {
    "h": 215.714,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.33083,
    "c": 0.09643,
    "h": 258.4
  },
  "luminance": 0.03544
}

Semantic roles & 50–950 ramp

primary
#123466
secondary
#9E7436
accent
#A53BED
background
#F5F6F9
surface
#EAEBF1
border
#C6C6CB
text
#05060D
muted
#797A7E

Preview Lab

Preview with #123466

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

Preview Lab → · Contrast checker → · Palette generator →

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