#123C5B#123C5B

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

Color values

HEX#123C5B
RGBrgb(18, 60, 91)
HSLhsl(205, 67%, 21%)
HSVhsv(205, 80%, 36%)
CMYKcmyk(80.2%, 34.1%, 0%, 64.3%)
CIE-LABlab(24.05, -2.36, -22.64)
CIE-LCHlch(24.05, 22.77, 264.04°)
OKLaboklab(34.38% -0.0305 -0.0642)
OKLCHoklch(34.38% 0.071 244.6)
XYZxyz(3.7529, 4.1152, 10.4920)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123C5B #5B3112
analogous
#125B56 #123C5B #12185B
triadic
#123C5B #5B123C #3C5B12
tetradic
#123C5B #56125B #5B3112 #185B12
square
#123C5B #56125B #5B3112 #185B12
split-complementary
#123C5B #5B1218 #5B5612
monochromatic
#05111A #081A28 #123C5B #1C5E8E #267FC1

Accessibility & contrast

On white

11.52
#123C5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#123C5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123C5B
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123C5B#FFFFFF#000000##FFFFFF
##123C5B1.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3D5C
Deuteranopia (green-blind)
#24365A
Tritanopia (blue-blind)
#004447
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #123c5b;
/* rgb */ color: rgb(18, 60, 91);
/* oklch */ color: oklch(34.4% 0.071 244.6);
Tailwind
colors: {
  custom: {
    50: '#5c7189',
    500: '#123c5b',
    950: '#000000',
  },
}
SCSS
$custom: #123c5b;
$custom-light: #5c7189;
$custom-dark: #000000;
JSON
{
  "hex": "#123c5b",
  "rgb": {
    "r": 18,
    "g": 60,
    "b": 91
  },
  "hsl": {
    "h": 205.479,
    "s": 66.972,
    "l": 21.373
  },
  "oklch": {
    "l": 0.34377,
    "c": 0.07105,
    "h": 244.6
  },
  "luminance": 0.04116
}

Semantic roles & 50–950 ramp

primary
#123C5B
secondary
#935D35
accent
#873EEA
background
#F5F6F8
surface
#E9ECF0
border
#C5C7CB
text
#04070B
muted
#797A7C

Preview Lab

Preview with #123C5B

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

Preview Lab → · Contrast checker → · Palette generator →

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