#123856#123856

#123856 is a dark, moderate cyan. Relative luminance 0.036; OKLCH L 33.0% C 0.068 H 245.9°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#123856
RGBrgb(18, 56, 86)
HSLhsl(206, 65%, 20%)
HSVhsv(206, 79%, 34%)
CMYKcmyk(79.1%, 34.9%, 0%, 66.3%)
CIE-LABlab(22.40, -1.71, -21.95)
CIE-LCHlch(22.40, 22.02, 265.53°)
OKLaboklab(32.99% -0.0278 -0.0622)
OKLCHoklch(32.99% 0.068 245.9)
XYZxyz(3.3427, 3.6285, 9.3265)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123856 #563012
analogous
#125652 #123856 #121656
triadic
#123856 #561238 #385612
tetradic
#123856 #521256 #563012 #165612
square
#123856 #521256 #563012 #165612
split-complementary
#123856 #561216 #565212
monochromatic
#051019 #071723 #123856 #1D5989 #277ABB

Accessibility & contrast

On white

12.17
#123856 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #123856
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123856#FFFFFF#000000##FFFFFF
##1238561.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3957
Deuteranopia (green-blind)
#213355
Tritanopia (blue-blind)
#003F43
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #123856;
/* rgb */ color: rgb(18, 56, 86);
/* oklch */ color: oklch(33.0% 0.068 245.9);
Tailwind
colors: {
  custom: {
    50: '#5a6e86',
    500: '#123856',
    950: '#000000',
  },
}
SCSS
$custom: #123856;
$custom-light: #5a6e86;
$custom-dark: #000000;
JSON
{
  "hex": "#123856",
  "rgb": {
    "r": 18,
    "g": 56,
    "b": 86
  },
  "hsl": {
    "h": 206.471,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.32987,
    "c": 0.06815,
    "h": 245.9
  },
  "luminance": 0.03629
}

Semantic roles & 50–950 ramp

primary
#123856
secondary
#8F5D35
accent
#8A3FE8
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04070B
muted
#797A7C

Preview Lab

Preview with #123856

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

Preview Lab → · Contrast checker → · Palette generator →

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