#123866#123866

#123866 is a dark, moderate cyan. Relative luminance 0.039; OKLCH L 34.1% C 0.091 H 255.3°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#123866
RGBrgb(18, 56, 102)
HSLhsl(213, 70%, 24%)
HSVhsv(213, 82%, 40%)
CMYKcmyk(82.4%, 45.1%, 0%, 60%)
CIE-LABlab(23.39, 5.01, -30.84)
CIE-LCHlch(23.39, 31.25, 279.22°)
OKLaboklab(34.08% -0.0232 -0.0883)
OKLCHoklch(34.08% 0.091 255.3)
XYZxyz(4.0610, 3.9158, 13.1096)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123866 #664012
analogous
#126266 #123866 #161266
triadic
#123866 #661238 #386612
tetradic
#123866 #661262 #664012 #126616
square
#123866 #661262 #664012 #126616
split-complementary
#123866 #661612 #626612
monochromatic
#050E1A #091B32 #123866 #1B559A #2471CE

Accessibility & contrast

On white

11.78
#123866 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#123866 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123866
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123866#FFFFFF#000000##FFFFFF
##1238661.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213C68
Deuteranopia (green-blind)
#123465
Tritanopia (blue-blind)
#00434A
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #123866;
/* rgb */ color: rgb(18, 56, 102);
/* oklch */ color: oklch(34.1% 0.091 255.3);
Tailwind
colors: {
  custom: {
    50: '#5e6e92',
    500: '#123866',
    950: '#000000',
  },
}
SCSS
$custom: #123866;
$custom-light: #5e6e92;
$custom-dark: #000000;
JSON
{
  "hex": "#123866",
  "rgb": {
    "r": 18,
    "g": 56,
    "b": 102
  },
  "hsl": {
    "h": 212.857,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.34081,
    "c": 0.09127,
    "h": 255.3
  },
  "luminance": 0.03916
}

Semantic roles & 50–950 ramp

primary
#123866
secondary
#9E6F36
accent
#9C3BED
background
#F5F6F9
surface
#EAEBF1
border
#C6C6CB
text
#05070D
muted
#797A7E

Preview Lab

Preview with #123866

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

Preview Lab → · Contrast checker → · Palette generator →

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