#123E52#123E52

#123E52 is a dark, muted cyan. Relative luminance 0.042; OKLCH L 34.4% C 0.059 H 231.9°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#123E52
RGBrgb(18, 62, 82)
HSLhsl(199, 64%, 20%)
HSVhsv(199, 78%, 32%)
CMYKcmyk(78%, 24.4%, 0%, 67.8%)
CIE-LABlab(24.27, -7.30, -16.40)
CIE-LCHlch(24.27, 17.95, 246.00°)
OKLaboklab(34.39% -0.0361 -0.0461)
OKLCHoklch(34.39% 0.059 231.9)
XYZxyz(3.4945, 4.1826, 8.6042)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123E52 #522612
analogous
#125246 #123E52 #121E52
triadic
#123E52 #52123E #3E5212
tetradic
#123E52 #461252 #522612 #1E5212
square
#123E52 #461252 #522612 #1E5212
split-complementary
#123E52 #52121E #524612
monochromatic
#061319 #071820 #123E52 #1D6484 #288AB6

Accessibility & contrast

On white

11.43
#123E52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#123E52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123E52
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123E52#FFFFFF#000000##FFFFFF
##123E521.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343D53
Deuteranopia (green-blind)
#2B3752
Tritanopia (blue-blind)
#004345
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #123e52;
/* rgb */ color: rgb(18, 62, 82);
/* oklch */ color: oklch(34.4% 0.059 231.9);
Tailwind
colors: {
  custom: {
    50: '#5a7382',
    500: '#123e52',
    950: '#000000',
  },
}
SCSS
$custom: #123e52;
$custom-light: #5a7382;
$custom-dark: #000000;
JSON
{
  "hex": "#123e52",
  "rgb": {
    "r": 18,
    "g": 62,
    "b": 82
  },
  "hsl": {
    "h": 198.75,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.34395,
    "c": 0.05855,
    "h": 231.9
  },
  "luminance": 0.04183
}

Semantic roles & 50–950 ramp

primary
#123E52
secondary
#8B5035
accent
#7541E7
background
#F5F6F7
surface
#E9ECEE
border
#C5C7C9
text
#04080A
muted
#797B7C

Preview Lab

Preview with #123E52

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

Preview Lab → · Contrast checker → · Palette generator →

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