#123468#123468

#123468 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.2% C 0.099 H 258.9°. Best body text is #FFFFFF at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#123468
RGBrgb(18, 52, 104)
HSLhsl(216, 70%, 24%)
HSVhsv(216, 83%, 41%)
CMYKcmyk(82.7%, 50%, 0%, 59.2%)
CIE-LABlab(22.24, 8.71, -33.98)
CIE-LCHlch(22.24, 35.08, 284.38°)
OKLaboklab(33.24% -0.0191 -0.0976)
OKLCHoklch(33.24% 0.099 258.9)
XYZxyz(3.9752, 3.5836, 13.5762)
Luminance0.0358 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123468 #684612
analogous
#125F68 #123468 #1B1268
triadic
#123468 #681234 #346812
tetradic
#123468 #68125F #684612 #12681B
square
#123468 #68125F #684612 #12681B
split-complementary
#123468 #681B12 #5F6812
monochromatic
#050D1A #091A34 #123468 #1B4E9C #2468D0

Accessibility & contrast

On white

12.23
#123468 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#123468 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123468
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123468#FFFFFF#000000##FFFFFF
##1234681.0012.231.7212.23
#FFFFFF12.231.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17396A
Deuteranopia (green-blind)
#013267
Tritanopia (blue-blind)
#004049
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #123468;
/* rgb */ color: rgb(18, 52, 104);
/* oklch */ color: oklch(33.2% 0.099 258.9);
Tailwind
colors: {
  custom: {
    50: '#5f6a93',
    500: '#123468',
    950: '#000000',
  },
}
SCSS
$custom: #123468;
$custom-light: #5f6a93;
$custom-dark: #000000;
JSON
{
  "hex": "#123468",
  "rgb": {
    "r": 18,
    "g": 52,
    "b": 104
  },
  "hsl": {
    "h": 216.279,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.33239,
    "c": 0.09943,
    "h": 258.9
  },
  "luminance": 0.03584
}

Semantic roles & 50–950 ramp

primary
#123468
secondary
#A07636
accent
#A73BED
background
#F5F6F9
surface
#EAEBF1
border
#C6C6CB
text
#05060D
muted
#797A7E

Preview Lab

Preview with #123468

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

Preview Lab → · Contrast checker → · Palette generator →

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