#123956#123956

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

Color values

HEX#123956
RGBrgb(18, 57, 86)
HSLhsl(206, 65%, 20%)
HSVhsv(206, 79%, 34%)
CMYKcmyk(79.1%, 33.7%, 0%, 66.3%)
CIE-LABlab(22.75, -2.39, -21.41)
CIE-LCHlch(22.75, 21.54, 263.62°)
OKLaboklab(33.26% -0.0289 -0.0606)
OKLCHoklch(33.26% 0.067 244.5)
XYZxyz(3.3917, 3.7264, 9.3428)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123956 #562F12
analogous
#125651 #123956 #121756
triadic
#123956 #561239 #395612
tetradic
#123956 #511256 #562F12 #175612
square
#123956 #511256 #562F12 #175612
split-complementary
#123956 #561217 #565112
monochromatic
#051119 #071723 #123956 #1D5B89 #277CBB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##123956#FFFFFF#000000##FFFFFF
##1239561.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)
#2C3A57
Deuteranopia (green-blind)
#223355
Tritanopia (blue-blind)
#004043
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #123956;
/* rgb */ color: rgb(18, 57, 86);
/* oklch */ color: oklch(33.3% 0.067 244.5);
Tailwind
colors: {
  custom: {
    50: '#5b6f86',
    500: '#123956',
    950: '#000000',
  },
}
SCSS
$custom: #123956;
$custom-light: #5b6f86;
$custom-dark: #000000;
JSON
{
  "hex": "#123956",
  "rgb": {
    "r": 18,
    "g": 57,
    "b": 86
  },
  "hsl": {
    "h": 205.588,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.33257,
    "c": 0.06717,
    "h": 244.5
  },
  "luminance": 0.03727
}

Semantic roles & 50–950 ramp

primary
#123956
secondary
#8F5B35
accent
#873FE8
background
#F5F6F8
surface
#E9ECEF
border
#C5C7CA
text
#04070B
muted
#797A7C

Preview Lab

Preview with #123956

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

Preview Lab → · Contrast checker → · Palette generator →

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