#123666#123666

#123666 is a dark, moderate cyan. Relative luminance 0.037; OKLCH L 33.6% C 0.094 H 256.9°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#123666
RGBrgb(18, 54, 102)
HSLhsl(214, 70%, 24%)
HSVhsv(214, 82%, 40%)
CMYKcmyk(82.4%, 47.1%, 0%, 60%)
CIE-LABlab(22.74, 6.43, -31.88)
CIE-LCHlch(22.74, 32.52, 281.40°)
OKLaboklab(33.58% -0.0213 -0.0914)
OKLCHoklch(33.58% 0.094 256.9)
XYZxyz(3.9660, 3.7258, 13.0779)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123666 #664212
analogous
#126066 #123666 #181266
triadic
#123666 #661236 #366612
tetradic
#123666 #661260 #664212 #126618
square
#123666 #661260 #664212 #126618
split-complementary
#123666 #661812 #606612
monochromatic
#050E1A #091A32 #123666 #1B529A #246DCE

Accessibility & contrast

On white

12.03
#123666 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#123666 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123666
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123666#FFFFFF#000000##FFFFFF
##1236661.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3A68
Deuteranopia (green-blind)
#0C3365
Tritanopia (blue-blind)
#004149
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #123666;
/* rgb */ color: rgb(18, 54, 102);
/* oklch */ color: oklch(33.6% 0.094 256.9);
Tailwind
colors: {
  custom: {
    50: '#5e6c92',
    500: '#123666',
    950: '#000000',
  },
}
SCSS
$custom: #123666;
$custom-light: #5e6c92;
$custom-dark: #000000;
JSON
{
  "hex": "#123666",
  "rgb": {
    "r": 18,
    "g": 54,
    "b": 102
  },
  "hsl": {
    "h": 214.286,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.33579,
    "c": 0.09382,
    "h": 256.9
  },
  "luminance": 0.03726
}

Semantic roles & 50–950 ramp

primary
#123666
secondary
#9E7136
accent
#A13BED
background
#F5F6F9
surface
#EAEBF1
border
#C6C6CB
text
#05060D
muted
#797A7E

Preview Lab

Preview with #123666

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

Preview Lab → · Contrast checker → · Palette generator →

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