#123356#123356

#123356 is a dark, moderate cyan. Relative luminance 0.032; OKLCH L 31.7% C 0.074 H 252.4°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#123356
RGBrgb(18, 51, 86)
HSLhsl(211, 65%, 20%)
HSVhsv(211, 79%, 34%)
CMYKcmyk(79.1%, 40.7%, 0%, 66.3%)
CIE-LABlab(20.70, 1.76, -24.64)
CIE-LCHlch(20.70, 24.70, 274.08°)
OKLaboklab(31.65% -0.0223 -0.0702)
OKLCHoklch(31.65% 0.074 252.4)
XYZxyz(3.1124, 3.1678, 9.2497)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123356 #563512
analogous
#125556 #123356 #131256
triadic
#123356 #561233 #335612
tetradic
#123356 #561255 #563512 #125613
square
#123356 #561255 #563512 #125613
split-complementary
#123356 #561312 #555612
monochromatic
#050F19 #071523 #123356 #1D5189 #276FBB

Accessibility & contrast

On white

12.86
#123356 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#123356 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123356
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123356#FFFFFF#000000##FFFFFF
##1233561.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233557
Deuteranopia (green-blind)
#192F55
Tritanopia (blue-blind)
#003B40
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #123356;
/* rgb */ color: rgb(18, 51, 86);
/* oklch */ color: oklch(31.7% 0.074 252.4);
Tailwind
colors: {
  custom: {
    50: '#5a6a86',
    500: '#123356',
    950: '#000000',
  },
}
SCSS
$custom: #123356;
$custom-light: #5a6a86;
$custom-dark: #000000;
JSON
{
  "hex": "#123356",
  "rgb": {
    "r": 18,
    "g": 51,
    "b": 86
  },
  "hsl": {
    "h": 210.882,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.31652,
    "c": 0.07362,
    "h": 252.4
  },
  "luminance": 0.03168
}

Semantic roles & 50–950 ramp

primary
#123356
secondary
#8F6335
accent
#963FE8
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060B
muted
#797A7C

Preview Lab

Preview with #123356

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

Preview Lab → · Contrast checker → · Palette generator →

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