#123C58#123C58

#123C58 is a dark, moderate cyan. Relative luminance 0.041; OKLCH L 34.2% C 0.067 H 242.0°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#123C58
RGBrgb(18, 60, 88)
HSLhsl(204, 66%, 21%)
HSVhsv(204, 80%, 35%)
CMYKcmyk(79.5%, 31.8%, 0%, 65.5%)
CIE-LABlab(23.88, -3.59, -20.94)
CIE-LCHlch(23.88, 21.24, 260.27°)
OKLaboklab(34.19% -0.0315 -0.0592)
OKLCHoklch(34.19% 0.067 242)
XYZxyz(3.6261, 4.0645, 9.8240)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123C58 #582E12
analogous
#125851 #123C58 #121958
triadic
#123C58 #58123C #3C5812
tetradic
#123C58 #511258 #582E12 #195812
square
#123C58 #511258 #582E12 #195812
split-complementary
#123C58 #581219 #585112
monochromatic
#051119 #081925 #123C58 #1C5F8B #2781BE

Accessibility & contrast

On white

11.58
#123C58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#123C58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123C58
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123C58#FFFFFF#000000##FFFFFF
##123C581.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3C59
Deuteranopia (green-blind)
#253657
Tritanopia (blue-blind)
#004346
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #123c58;
/* rgb */ color: rgb(18, 60, 88);
/* oklch */ color: oklch(34.2% 0.067 242.0);
Tailwind
colors: {
  custom: {
    50: '#5b7187',
    500: '#123c58',
    950: '#000000',
  },
}
SCSS
$custom: #123c58;
$custom-light: #5b7187;
$custom-dark: #000000;
JSON
{
  "hex": "#123c58",
  "rgb": {
    "r": 18,
    "g": 60,
    "b": 88
  },
  "hsl": {
    "h": 204,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.34192,
    "c": 0.06709,
    "h": 242
  },
  "luminance": 0.04065
}

Semantic roles & 50–950 ramp

primary
#123C58
secondary
#915A35
accent
#833FE9
background
#F5F6F8
surface
#E9ECEF
border
#C5C7CA
text
#04070B
muted
#797A7C

Preview Lab

Preview with #123C58

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

Preview Lab → · Contrast checker → · Palette generator →

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