#123566#123566

#123566 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.3% C 0.095 H 257.6°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#123566
RGBrgb(18, 53, 102)
HSLhsl(215, 70%, 24%)
HSVhsv(215, 82%, 40%)
CMYKcmyk(82.4%, 48%, 0%, 60%)
CIE-LABlab(22.42, 7.14, -32.40)
CIE-LCHlch(22.42, 33.17, 282.43°)
OKLaboklab(33.33% -0.0204 -0.0929)
OKLCHoklch(33.33% 0.095 257.6)
XYZxyz(3.9199, 3.6337, 13.0626)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123566 #664312
analogous
#125F66 #123566 #191266
triadic
#123566 #661235 #356612
tetradic
#123566 #66125F #664312 #126619
square
#123566 #66125F #664312 #126619
split-complementary
#123566 #661912 #5F6612
monochromatic
#050E1A #091A32 #123566 #1B509A #246BCE

Accessibility & contrast

On white

12.16
#123566 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#123566 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123566
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123566#FFFFFF#000000##FFFFFF
##1235661.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3A68
Deuteranopia (green-blind)
#083265
Tritanopia (blue-blind)
#004148
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #123566;
/* rgb */ color: rgb(18, 53, 102);
/* oklch */ color: oklch(33.3% 0.095 257.6);
Tailwind
colors: {
  custom: {
    50: '#5e6b92',
    500: '#123566',
    950: '#000000',
  },
}
SCSS
$custom: #123566;
$custom-light: #5e6b92;
$custom-dark: #000000;
JSON
{
  "hex": "#123566",
  "rgb": {
    "r": 18,
    "g": 53,
    "b": 102
  },
  "hsl": {
    "h": 215,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.3333,
    "c": 0.09511,
    "h": 257.6
  },
  "luminance": 0.03634
}

Semantic roles & 50–950 ramp

primary
#123566
secondary
#9E7336
accent
#A33BED
background
#F5F6F9
surface
#EAEBF1
border
#C6C6CB
text
#05060D
muted
#797A7E

Preview Lab

Preview with #123566

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

Preview Lab → · Contrast checker → · Palette generator →

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