#123C5D#123C5D

#123C5D is a dark, moderate cyan. Relative luminance 0.042; OKLCH L 34.5% C 0.074 H 246.2°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#123C5D
RGBrgb(18, 60, 93)
HSLhsl(206, 68%, 22%)
HSVhsv(206, 81%, 36%)
CMYKcmyk(80.6%, 35.5%, 0%, 63.5%)
CIE-LABlab(24.16, -1.54, -23.77)
CIE-LCHlch(24.16, 23.82, 266.29°)
OKLaboklab(34.5% -0.0298 -0.0675)
OKLCHoklch(34.5% 0.074 246.2)
XYZxyz(3.8403, 4.1502, 10.9525)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123C5D #5D3312
analogous
#125D59 #123C5D #12175D
triadic
#123C5D #5D123C #3C5D12
tetradic
#123C5D #59125D #5D3312 #175D12
square
#123C5D #59125D #5D3312 #175D12
split-complementary
#123C5D #5D1217 #5D5912
monochromatic
#05111A #081B2A #123C5D #1C5D90 #267EC4

Accessibility & contrast

On white

11.47
#123C5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #123C5D
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123C5D#FFFFFF#000000##FFFFFF
##123C5D1.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3D5E
Deuteranopia (green-blind)
#22365C
Tritanopia (blue-blind)
#004448
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #123c5d;
/* rgb */ color: rgb(18, 60, 93);
/* oklch */ color: oklch(34.5% 0.074 246.2);
Tailwind
colors: {
  custom: {
    50: '#5c718b',
    500: '#123c5d',
    950: '#000000',
  },
}
SCSS
$custom: #123c5d;
$custom-light: #5c718b;
$custom-dark: #000000;
JSON
{
  "hex": "#123c5d",
  "rgb": {
    "r": 18,
    "g": 60,
    "b": 93
  },
  "hsl": {
    "h": 206.4,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.34503,
    "c": 0.07375,
    "h": 246.2
  },
  "luminance": 0.04151
}

Semantic roles & 50–950 ramp

primary
#123C5D
secondary
#956035
accent
#8A3DEA
background
#F5F6F8
surface
#E9ECF0
border
#C5C7CB
text
#05070C
muted
#797A7D

Preview Lab

Preview with #123C5D

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

Preview Lab → · Contrast checker → · Palette generator →

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