#123D56#123D56

#123D56 is a dark, moderate cyan. Relative luminance 0.041; OKLCH L 34.3% C 0.064 H 238.4°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#123D56
RGBrgb(18, 61, 86)
HSLhsl(202, 65%, 20%)
HSVhsv(202, 79%, 34%)
CMYKcmyk(79.1%, 29.1%, 0%, 66.3%)
CIE-LABlab(24.12, -5.06, -19.25)
CIE-LCHlch(24.12, 19.91, 255.27°)
OKLaboklab(34.35% -0.0334 -0.0543)
OKLCHoklch(34.35% 0.064 238.4)
XYZxyz(3.5973, 4.1376, 9.4113)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123D56 #562B12
analogous
#12564D #123D56 #121B56
triadic
#123D56 #56123D #3D5612
tetradic
#123D56 #4D1256 #562B12 #1B5612
square
#123D56 #4D1256 #562B12 #1B5612
split-complementary
#123D56 #56121B #564D12
monochromatic
#051219 #071923 #123D56 #1D6189 #2785BB

Accessibility & contrast

On white

11.49
#123D56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#123D56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123D56
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123D56#FFFFFF#000000##FFFFFF
##123D561.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313D57
Deuteranopia (green-blind)
#283656
Tritanopia (blue-blind)
#004346
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #123d56;
/* rgb */ color: rgb(18, 61, 86);
/* oklch */ color: oklch(34.3% 0.064 238.4);
Tailwind
colors: {
  custom: {
    50: '#5b7285',
    500: '#123d56',
    950: '#000000',
  },
}
SCSS
$custom: #123d56;
$custom-light: #5b7285;
$custom-dark: #000000;
JSON
{
  "hex": "#123d56",
  "rgb": {
    "r": 18,
    "g": 61,
    "b": 86
  },
  "hsl": {
    "h": 202.059,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.34346,
    "c": 0.06376,
    "h": 238.4
  },
  "luminance": 0.04138
}

Semantic roles & 50–950 ramp

primary
#123D56
secondary
#8F5635
accent
#7E3FE8
background
#F5F6F8
surface
#E9ECEF
border
#C5C7CA
text
#04070B
muted
#797A7C

Preview Lab

Preview with #123D56

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

Preview Lab → · Contrast checker → · Palette generator →

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