#123C54#123C54

#123C54 is a dark, moderate cyan. Relative luminance 0.040; OKLCH L 34.0% C 0.062 H 237.9°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#123C54
RGBrgb(18, 60, 84)
HSLhsl(202, 65%, 20%)
HSVhsv(202, 79%, 33%)
CMYKcmyk(78.6%, 28.6%, 0%, 67.1%)
CIE-LABlab(23.67, -5.21, -18.64)
CIE-LCHlch(23.67, 19.36, 254.39°)
OKLaboklab(33.96% -0.033 -0.0526)
OKLCHoklch(33.96% 0.062 237.9)
XYZxyz(3.4649, 4.0000, 8.9753)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123C54 #542A12
analogous
#12544B #123C54 #121B54
triadic
#123C54 #54123C #3C5412
tetradic
#123C54 #4B1254 #542A12 #1B5412
square
#123C54 #4B1254 #542A12 #1B5412
split-complementary
#123C54 #54121B #544B12
monochromatic
#051219 #071822 #123C54 #1D6086 #2884B9

Accessibility & contrast

On white

11.67
#123C54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#123C54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123C54
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123C54#FFFFFF#000000##FFFFFF
##123C541.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313C55
Deuteranopia (green-blind)
#283654
Tritanopia (blue-blind)
#004244
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #123c54;
/* rgb */ color: rgb(18, 60, 84);
/* oklch */ color: oklch(34.0% 0.062 237.9);
Tailwind
colors: {
  custom: {
    50: '#5a7184',
    500: '#123c54',
    950: '#000000',
  },
}
SCSS
$custom: #123c54;
$custom-light: #5a7184;
$custom-dark: #000000;
JSON
{
  "hex": "#123c54",
  "rgb": {
    "r": 18,
    "g": 60,
    "b": 84
  },
  "hsl": {
    "h": 201.818,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.33955,
    "c": 0.06208,
    "h": 237.9
  },
  "luminance": 0.04
}

Semantic roles & 50–950 ramp

primary
#123C54
secondary
#8D5535
accent
#7D40E8
background
#F5F6F8
surface
#E9ECEF
border
#C5C7CA
text
#04070B
muted
#797A7C

Preview Lab

Preview with #123C54

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

Preview Lab → · Contrast checker → · Palette generator →

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