#123D5C#123D5C

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

Color values

HEX#123D5C
RGBrgb(18, 61, 92)
HSLhsl(205, 67%, 22%)
HSVhsv(205, 80%, 36%)
CMYKcmyk(80.4%, 33.7%, 0%, 63.9%)
CIE-LABlab(24.44, -2.62, -22.67)
CIE-LCHlch(24.44, 22.82, 263.40°)
OKLaboklab(34.71% -0.0312 -0.0643)
OKLCHoklch(34.71% 0.071 244.1)
XYZxyz(3.8492, 4.2383, 10.7384)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123D5C #5C3112
analogous
#125C56 #123D5C #12185C
triadic
#123D5C #5C123D #3D5C12
tetradic
#123D5C #56125C #5C3112 #185C12
square
#123D5C #56125C #5C3112 #185C12
split-complementary
#123D5C #5C1218 #5C5612
monochromatic
#05111A #081B29 #123D5C #1C5F8F #2681C2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##123D5C#FFFFFF#000000##FFFFFF
##123D5C1.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)
#2F3E5D
Deuteranopia (green-blind)
#24375B
Tritanopia (blue-blind)
#004548
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #123d5c;
/* rgb */ color: rgb(18, 61, 92);
/* oklch */ color: oklch(34.7% 0.071 244.1);
Tailwind
colors: {
  custom: {
    50: '#5c728a',
    500: '#123d5c',
    950: '#000000',
  },
}
SCSS
$custom: #123d5c;
$custom-light: #5c728a;
$custom-dark: #000000;
JSON
{
  "hex": "#123d5c",
  "rgb": {
    "r": 18,
    "g": 61,
    "b": 92
  },
  "hsl": {
    "h": 205.135,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.34708,
    "c": 0.07144,
    "h": 244.1
  },
  "luminance": 0.04239
}

Semantic roles & 50–950 ramp

primary
#123D5C
secondary
#945D35
accent
#863EEA
background
#F5F6F8
surface
#E9ECF0
border
#C5C7CB
text
#04070B
muted
#797A7C

Preview Lab

Preview with #123D5C

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

Preview Lab → · Contrast checker → · Palette generator →

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