#123C56#123C56

#123C56 is a dark, moderate cyan. Relative luminance 0.040; OKLCH L 34.1% C 0.065 H 240.0°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#123C56
RGBrgb(18, 60, 86)
HSLhsl(203, 65%, 20%)
HSVhsv(203, 79%, 34%)
CMYKcmyk(79.1%, 30.2%, 0%, 66.3%)
CIE-LABlab(23.78, -4.40, -19.79)
CIE-LCHlch(23.78, 20.28, 257.46°)
OKLaboklab(34.07% -0.0323 -0.0559)
OKLCHoklch(34.07% 0.065 240)
XYZxyz(3.5444, 4.0318, 9.3937)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123C56 #562C12
analogous
#12564E #123C56 #121A56
triadic
#123C56 #56123C #3C5612
tetradic
#123C56 #4E1256 #562C12 #1A5612
square
#123C56 #4E1256 #562C12 #1A5612
split-complementary
#123C56 #56121A #564E12
monochromatic
#051219 #071923 #123C56 #1D5F89 #2783BB

Accessibility & contrast

On white

11.63
#123C56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#123C56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123C56
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123C56#FFFFFF#000000##FFFFFF
##123C561.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303C57
Deuteranopia (green-blind)
#273656
Tritanopia (blue-blind)
#004345
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #123c56;
/* rgb */ color: rgb(18, 60, 86);
/* oklch */ color: oklch(34.1% 0.065 240.0);
Tailwind
colors: {
  custom: {
    50: '#5b7185',
    500: '#123c56',
    950: '#000000',
  },
}
SCSS
$custom: #123c56;
$custom-light: #5b7185;
$custom-dark: #000000;
JSON
{
  "hex": "#123c56",
  "rgb": {
    "r": 18,
    "g": 60,
    "b": 86
  },
  "hsl": {
    "h": 202.941,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.34072,
    "c": 0.06454,
    "h": 240
  },
  "luminance": 0.04032
}

Semantic roles & 50–950 ramp

primary
#123C56
secondary
#8F5735
accent
#803FE8
background
#F5F6F8
surface
#E9ECEF
border
#C5C7CA
text
#04070B
muted
#797A7C

Preview Lab

Preview with #123C56

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

Preview Lab → · Contrast checker → · Palette generator →

#123C56 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva