#123D51#123D51

#123D51 is a dark, muted cyan. Relative luminance 0.041; OKLCH L 34.1% C 0.058 H 232.4°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#123D51
RGBrgb(18, 61, 81)
HSLhsl(199, 64%, 19%)
HSVhsv(199, 78%, 32%)
CMYKcmyk(77.8%, 24.7%, 0%, 68.2%)
CIE-LABlab(23.87, -7.05, -16.36)
CIE-LCHlch(23.87, 17.82, 246.68°)
OKLaboklab(34.06% -0.0354 -0.046)
OKLCHoklch(34.06% 0.058 232.4)
XYZxyz(3.4028, 4.0598, 8.3873)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123D51 #512612
analogous
#125146 #123D51 #121E51
triadic
#123D51 #51123D #3D5112
tetradic
#123D51 #461251 #512612 #1E5112
square
#123D51 #461251 #512612 #1E5112
split-complementary
#123D51 #51121E #514612
monochromatic
#061319 #07171F #123D51 #1D6383 #2888B5

Accessibility & contrast

On white

11.59
#123D51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #123D51
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123D51#FFFFFF#000000##FFFFFF
##123D511.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333C52
Deuteranopia (green-blind)
#2A3651
Tritanopia (blue-blind)
#004244
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #123d51;
/* rgb */ color: rgb(18, 61, 81);
/* oklch */ color: oklch(34.1% 0.058 232.4);
Tailwind
colors: {
  custom: {
    50: '#5a7282',
    500: '#123d51',
    950: '#000000',
  },
}
SCSS
$custom: #123d51;
$custom-light: #5a7282;
$custom-dark: #000000;
JSON
{
  "hex": "#123d51",
  "rgb": {
    "r": 18,
    "g": 61,
    "b": 81
  },
  "hsl": {
    "h": 199.048,
    "s": 63.636,
    "l": 19.412
  },
  "oklch": {
    "l": 0.34061,
    "c": 0.05801,
    "h": 232.4
  },
  "luminance": 0.0406
}

Semantic roles & 50–950 ramp

primary
#123D51
secondary
#8A5035
accent
#7641E7
background
#F5F6F7
surface
#E9ECEE
border
#C5C7C9
text
#04080A
muted
#797B7C

Preview Lab

Preview with #123D51

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

Preview Lab → · Contrast checker → · Palette generator →

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