#123D52#123D52

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

Color values

HEX#123D52
RGBrgb(18, 61, 82)
HSLhsl(200, 64%, 20%)
HSVhsv(200, 78%, 32%)
CMYKcmyk(78%, 25.6%, 0%, 67.8%)
CIE-LABlab(23.92, -6.66, -16.94)
CIE-LCHlch(23.92, 18.20, 248.54°)
OKLaboklab(34.12% -0.035 -0.0476)
OKLCHoklch(34.12% 0.059 233.7)
XYZxyz(3.4406, 4.0749, 8.5862)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123D52 #522712
analogous
#125247 #123D52 #121D52
triadic
#123D52 #52123D #3D5212
tetradic
#123D52 #471252 #522712 #1D5212
square
#123D52 #471252 #522712 #1D5212
split-complementary
#123D52 #52121D #524712
monochromatic
#061319 #071820 #123D52 #1D6284 #2888B6

Accessibility & contrast

On white

11.57
#123D52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#123D52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123D52
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123D52#FFFFFF#000000##FFFFFF
##123D521.0011.571.8211.57
#FFFFFF11.571.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333C53
Deuteranopia (green-blind)
#2A3652
Tritanopia (blue-blind)
#004344
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #123d52;
/* rgb */ color: rgb(18, 61, 82);
/* oklch */ color: oklch(34.1% 0.059 233.7);
Tailwind
colors: {
  custom: {
    50: '#5a7282',
    500: '#123d52',
    950: '#000000',
  },
}
SCSS
$custom: #123d52;
$custom-light: #5a7282;
$custom-dark: #000000;
JSON
{
  "hex": "#123d52",
  "rgb": {
    "r": 18,
    "g": 61,
    "b": 82
  },
  "hsl": {
    "h": 199.688,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.34117,
    "c": 0.0591,
    "h": 233.7
  },
  "luminance": 0.04075
}

Semantic roles & 50–950 ramp

primary
#123D52
secondary
#8B5135
accent
#7741E7
background
#F5F6F8
surface
#E9ECEF
border
#C5C7CA
text
#04080A
muted
#797B7C

Preview Lab

Preview with #123D52

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

Preview Lab → · Contrast checker → · Palette generator →

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