#123F5C#123F5C

#123F5C is a dark, moderate cyan. Relative luminance 0.045; OKLCH L 35.2% C 0.070 H 241.4°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#123F5C
RGBrgb(18, 63, 92)
HSLhsl(204, 67%, 22%)
HSVhsv(204, 80%, 36%)
CMYKcmyk(80.4%, 31.5%, 0%, 63.9%)
CIE-LABlab(25.12, -3.95, -21.60)
CIE-LCHlch(25.12, 21.96, 259.63°)
OKLaboklab(35.25% -0.0334 -0.0611)
OKLCHoklch(35.25% 0.07 241.4)
XYZxyz(3.9580, 4.4559, 10.7746)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123F5C #5C2F12
analogous
#125C54 #123F5C #121A5C
triadic
#123F5C #5C123F #3F5C12
tetradic
#123F5C #54125C #5C2F12 #1A5C12
square
#123F5C #54125C #5C2F12 #1A5C12
split-complementary
#123F5C #5C121A #5C5412
monochromatic
#05121A #081C29 #123F5C #1C628F #2685C2

Accessibility & contrast

On white

11.10
#123F5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#123F5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123F5C
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123F5C#FFFFFF#000000##FFFFFF
##123F5C1.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323F5D
Deuteranopia (green-blind)
#27385B
Tritanopia (blue-blind)
#004649
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #123f5c;
/* rgb */ color: rgb(18, 63, 92);
/* oklch */ color: oklch(35.2% 0.070 241.4);
Tailwind
colors: {
  custom: {
    50: '#5c738a',
    500: '#123f5c',
    950: '#000000',
  },
}
SCSS
$custom: #123f5c;
$custom-light: #5c738a;
$custom-dark: #000000;
JSON
{
  "hex": "#123f5c",
  "rgb": {
    "r": 18,
    "g": 63,
    "b": 92
  },
  "hsl": {
    "h": 203.514,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.35246,
    "c": 0.06964,
    "h": 241.4
  },
  "luminance": 0.04456
}

Semantic roles & 50–950 ramp

primary
#123F5C
secondary
#945B35
accent
#813EEA
background
#F5F7F8
surface
#E9EDF0
border
#C5C8CB
text
#05080B
muted
#797B7C

Preview Lab

Preview with #123F5C

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

Preview Lab → · Contrast checker → · Palette generator →

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