#123E51#123E51

#123E51 is a dark, muted cyan. Relative luminance 0.042; OKLCH L 34.3% C 0.058 H 230.5°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#123E51
RGBrgb(18, 62, 81)
HSLhsl(198, 64%, 19%)
HSVhsv(198, 78%, 32%)
CMYKcmyk(77.8%, 23.5%, 0%, 68.2%)
CIE-LABlab(24.22, -7.69, -15.82)
CIE-LCHlch(24.22, 17.59, 244.06°)
OKLaboklab(34.34% -0.0366 -0.0444)
OKLCHoklch(34.34% 0.058 230.5)
XYZxyz(3.4567, 4.1675, 8.4052)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123E51 #512512
analogous
#125145 #123E51 #121F51
triadic
#123E51 #51123E #3E5112
tetradic
#123E51 #451251 #512512 #1F5112
square
#123E51 #451251 #512512 #1F5112
split-complementary
#123E51 #51121F #514512
monochromatic
#061319 #07181F #123E51 #1D6483 #288BB5

Accessibility & contrast

On white

11.45
#123E51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#123E51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123E51
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123E51#FFFFFF#000000##FFFFFF
##123E511.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343D52
Deuteranopia (green-blind)
#2C3751
Tritanopia (blue-blind)
#004344
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #123e51;
/* rgb */ color: rgb(18, 62, 81);
/* oklch */ color: oklch(34.3% 0.058 230.5);
Tailwind
colors: {
  custom: {
    50: '#5a7382',
    500: '#123e51',
    950: '#000000',
  },
}
SCSS
$custom: #123e51;
$custom-light: #5a7382;
$custom-dark: #000000;
JSON
{
  "hex": "#123e51",
  "rgb": {
    "r": 18,
    "g": 62,
    "b": 81
  },
  "hsl": {
    "h": 198.095,
    "s": 63.636,
    "l": 19.412
  },
  "oklch": {
    "l": 0.3434,
    "c": 0.05751,
    "h": 230.5
  },
  "luminance": 0.04168
}

Semantic roles & 50–950 ramp

primary
#123E51
secondary
#8A4F35
accent
#7341E7
background
#F5F6F7
surface
#E9ECEE
border
#C5C7C9
text
#04080A
muted
#797B7C

Preview Lab

Preview with #123E51

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

Preview Lab → · Contrast checker → · Palette generator →

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