#123C5C#123C5C

#123C5C is a dark, moderate cyan. Relative luminance 0.041; OKLCH L 34.4% C 0.072 H 245.4°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#123C5C
RGBrgb(18, 60, 92)
HSLhsl(206, 67%, 22%)
HSVhsv(206, 80%, 36%)
CMYKcmyk(80.4%, 34.8%, 0%, 63.9%)
CIE-LABlab(24.11, -1.95, -23.21)
CIE-LCHlch(24.11, 23.29, 265.19°)
OKLaboklab(34.44% -0.0301 -0.0658)
OKLCHoklch(34.44% 0.072 245.4)
XYZxyz(3.7963, 4.1326, 10.7207)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123C5C #5C3212
analogous
#125C57 #123C5C #12175C
triadic
#123C5C #5C123C #3C5C12
tetradic
#123C5C #57125C #5C3212 #175C12
square
#123C5C #57125C #5C3212 #175C12
split-complementary
#123C5C #5C1217 #5C5712
monochromatic
#05111A #081B29 #123C5C #1C5D8F #267FC2

Accessibility & contrast

On white

11.50
#123C5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #123C5C
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123C5C#FFFFFF#000000##FFFFFF
##123C5C1.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3D5D
Deuteranopia (green-blind)
#23365B
Tritanopia (blue-blind)
#004447
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #123c5c;
/* rgb */ color: rgb(18, 60, 92);
/* oklch */ color: oklch(34.4% 0.072 245.4);
Tailwind
colors: {
  custom: {
    50: '#5c718a',
    500: '#123c5c',
    950: '#000000',
  },
}
SCSS
$custom: #123c5c;
$custom-light: #5c718a;
$custom-dark: #000000;
JSON
{
  "hex": "#123c5c",
  "rgb": {
    "r": 18,
    "g": 60,
    "b": 92
  },
  "hsl": {
    "h": 205.946,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.3444,
    "c": 0.0724,
    "h": 245.4
  },
  "luminance": 0.04133
}

Semantic roles & 50–950 ramp

primary
#123C5C
secondary
#945E35
accent
#883EEA
background
#F5F6F8
surface
#E9ECF0
border
#C5C7CB
text
#04070B
muted
#797A7C

Preview Lab

Preview with #123C5C

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

Preview Lab → · Contrast checker → · Palette generator →

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