#123164#123164

#123164 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.2% C 0.097 H 259.9°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#123164
RGBrgb(18, 49, 100)
HSLhsl(217, 69%, 23%)
HSVhsv(217, 82%, 39%)
CMYKcmyk(82%, 51%, 0%, 60.8%)
CIE-LABlab(21.00, 9.17, -33.38)
CIE-LCHlch(21.00, 34.62, 285.36°)
OKLaboklab(32.19% -0.0171 -0.0959)
OKLCHoklch(32.19% 0.097 259.9)
XYZxyz(3.6472, 3.2449, 12.4882)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123164 #644512
analogous
#125A64 #123164 #1C1264
triadic
#123164 #641231 #316412
tetradic
#123164 #64125A #644512 #12641C
square
#123164 #64125A #644512 #12641C
split-complementary
#123164 #641C12 #5A6412
monochromatic
#050D1A #091830 #123164 #1B4A98 #2564CC

Accessibility & contrast

On white

12.73
#123164 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#123164 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123164
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123164#FFFFFF#000000##FFFFFF
##1231641.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143666
Deuteranopia (green-blind)
#002F63
Tritanopia (blue-blind)
#003D45
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #123164;
/* rgb */ color: rgb(18, 49, 100);
/* oklch */ color: oklch(32.2% 0.097 259.9);
Tailwind
colors: {
  custom: {
    50: '#5e6890',
    500: '#123164',
    950: '#000000',
  },
}
SCSS
$custom: #123164;
$custom-light: #5e6890;
$custom-dark: #000000;
JSON
{
  "hex": "#123164",
  "rgb": {
    "r": 18,
    "g": 49,
    "b": 100
  },
  "hsl": {
    "h": 217.317,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.32188,
    "c": 0.0974,
    "h": 259.9
  },
  "luminance": 0.03245
}

Semantic roles & 50–950 ramp

primary
#123164
secondary
#9C7536
accent
#A93BEC
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #123164

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

Preview Lab → · Contrast checker → · Palette generator →

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