#123C5A#123C5A

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

Color values

HEX#123C5A
RGBrgb(18, 60, 90)
HSLhsl(205, 67%, 21%)
HSVhsv(205, 80%, 35%)
CMYKcmyk(80%, 33.3%, 0%, 64.7%)
CIE-LABlab(23.99, -2.77, -22.08)
CIE-LCHlch(23.99, 22.25, 262.84°)
OKLaboklab(34.32% -0.0308 -0.0625)
OKLCHoklch(34.32% 0.07 243.8)
XYZxyz(3.7101, 4.0981, 10.2664)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123C5A #5A3012
analogous
#125A54 #123C5A #12185A
triadic
#123C5A #5A123C #3C5A12
tetradic
#123C5A #54125A #5A3012 #185A12
square
#123C5A #54125A #5A3012 #185A12
split-complementary
#123C5A #5A1218 #5A5412
monochromatic
#05111A #081A27 #123C5A #1C5E8D #2680C0

Accessibility & contrast

On white

11.54
#123C5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #123C5A
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123C5A#FFFFFF#000000##FFFFFF
##123C5A1.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3D5B
Deuteranopia (green-blind)
#243659
Tritanopia (blue-blind)
#004347
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #123c5a;
/* rgb */ color: rgb(18, 60, 90);
/* oklch */ color: oklch(34.3% 0.070 243.8);
Tailwind
colors: {
  custom: {
    50: '#5b7189',
    500: '#123c5a',
    950: '#000000',
  },
}
SCSS
$custom: #123c5a;
$custom-light: #5b7189;
$custom-dark: #000000;
JSON
{
  "hex": "#123c5a",
  "rgb": {
    "r": 18,
    "g": 60,
    "b": 90
  },
  "hsl": {
    "h": 205,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.34315,
    "c": 0.06972,
    "h": 243.8
  },
  "luminance": 0.04099
}

Semantic roles & 50–950 ramp

primary
#123C5A
secondary
#935C35
accent
#863EEA
background
#F5F6F8
surface
#E9ECF0
border
#C5C7CB
text
#04070B
muted
#797A7C

Preview Lab

Preview with #123C5A

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

Preview Lab → · Contrast checker → · Palette generator →

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