#123E56#123E56

#123E56 is a dark, moderate cyan. Relative luminance 0.042; OKLCH L 34.6% C 0.063 H 236.8°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#123E56
RGBrgb(18, 62, 86)
HSLhsl(201, 65%, 20%)
HSVhsv(201, 79%, 34%)
CMYKcmyk(79.1%, 27.9%, 0%, 66.3%)
CIE-LABlab(24.47, -5.72, -18.72)
CIE-LCHlch(24.47, 19.57, 253.01°)
OKLaboklab(34.62% -0.0345 -0.0527)
OKLCHoklch(34.62% 0.063 236.8)
XYZxyz(3.6511, 4.2453, 9.4293)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123E56 #562A12
analogous
#12564C #123E56 #121C56
triadic
#123E56 #56123E #3E5612
tetradic
#123E56 #4C1256 #562A12 #1C5612
square
#123E56 #4C1256 #562A12 #1C5612
split-complementary
#123E56 #56121C #564C12
monochromatic
#051219 #071A23 #123E56 #1D6289 #2787BB

Accessibility & contrast

On white

11.36
#123E56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#123E56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123E56
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123E56#FFFFFF#000000##FFFFFF
##123E561.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333E57
Deuteranopia (green-blind)
#293756
Tritanopia (blue-blind)
#004446
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #123e56;
/* rgb */ color: rgb(18, 62, 86);
/* oklch */ color: oklch(34.6% 0.063 236.8);
Tailwind
colors: {
  custom: {
    50: '#5b7385',
    500: '#123e56',
    950: '#000000',
  },
}
SCSS
$custom: #123e56;
$custom-light: #5b7385;
$custom-dark: #000000;
JSON
{
  "hex": "#123e56",
  "rgb": {
    "r": 18,
    "g": 62,
    "b": 86
  },
  "hsl": {
    "h": 201.176,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.3462,
    "c": 0.06304,
    "h": 236.8
  },
  "luminance": 0.04246
}

Semantic roles & 50–950 ramp

primary
#123E56
secondary
#8F5535
accent
#7B3FE8
background
#F5F6F8
surface
#E9ECEF
border
#C5C7CA
text
#04080B
muted
#797B7C

Preview Lab

Preview with #123E56

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

Preview Lab → · Contrast checker → · Palette generator →

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