#123C52#123C52

#123C52 is a dark, muted cyan. Relative luminance 0.040; OKLCH L 33.8% C 0.060 H 235.5°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#123C52
RGBrgb(18, 60, 82)
HSLhsl(201, 64%, 20%)
HSVhsv(201, 78%, 32%)
CMYKcmyk(78%, 26.8%, 0%, 67.8%)
CIE-LABlab(23.57, -6.01, -17.48)
CIE-LCHlch(23.57, 18.49, 251.03°)
OKLaboklab(33.84% -0.0338 -0.0492)
OKLCHoklch(33.84% 0.06 235.5)
XYZxyz(3.3877, 3.9691, 8.5686)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123C52 #522812
analogous
#125248 #123C52 #121C52
triadic
#123C52 #52123C #3C5212
tetradic
#123C52 #481252 #522812 #1C5212
square
#123C52 #481252 #522812 #1C5212
split-complementary
#123C52 #52121C #524812
monochromatic
#061219 #071720 #123C52 #1D6184 #2885B6

Accessibility & contrast

On white

11.71
#123C52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#123C52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123C52
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123C52#FFFFFF#000000##FFFFFF
##123C521.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313C53
Deuteranopia (green-blind)
#293552
Tritanopia (blue-blind)
#004243
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #123c52;
/* rgb */ color: rgb(18, 60, 82);
/* oklch */ color: oklch(33.8% 0.060 235.5);
Tailwind
colors: {
  custom: {
    50: '#5a7182',
    500: '#123c52',
    950: '#000000',
  },
}
SCSS
$custom: #123c52;
$custom-light: #5a7182;
$custom-dark: #000000;
JSON
{
  "hex": "#123c52",
  "rgb": {
    "r": 18,
    "g": 60,
    "b": 82
  },
  "hsl": {
    "h": 200.625,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.33839,
    "c": 0.05971,
    "h": 235.5
  },
  "luminance": 0.0397
}

Semantic roles & 50–950 ramp

primary
#123C52
secondary
#8B5235
accent
#7A41E7
background
#F5F6F8
surface
#E9ECEF
border
#C5C7CA
text
#04070A
muted
#797A7C

Preview Lab

Preview with #123C52

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

Preview Lab → · Contrast checker → · Palette generator →

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