#123F56#123F56

#123F56 is a dark, moderate cyan. Relative luminance 0.044; OKLCH L 34.9% C 0.062 H 235.1°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#123F56
RGBrgb(18, 63, 86)
HSLhsl(200, 65%, 20%)
HSVhsv(200, 79%, 34%)
CMYKcmyk(79.1%, 26.7%, 0%, 66.3%)
CIE-LABlab(24.81, -6.37, -18.18)
CIE-LCHlch(24.81, 19.26, 250.69°)
OKLaboklab(34.89% -0.0357 -0.0512)
OKLCHoklch(34.89% 0.062 235.1)
XYZxyz(3.7060, 4.3551, 9.4476)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123F56 #562912
analogous
#12564B #123F56 #121D56
triadic
#123F56 #56123F #3F5612
tetradic
#123F56 #4B1256 #562912 #1D5612
square
#123F56 #4B1256 #562912 #1D5612
split-complementary
#123F56 #56121D #564B12
monochromatic
#051319 #071A23 #123F56 #1D6489 #2789BB

Accessibility & contrast

On white

11.22
#123F56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#123F56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123F56
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123F56#FFFFFF#000000##FFFFFF
##123F561.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343F57
Deuteranopia (green-blind)
#2B3856
Tritanopia (blue-blind)
#004547
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #123f56;
/* rgb */ color: rgb(18, 63, 86);
/* oklch */ color: oklch(34.9% 0.062 235.1);
Tailwind
colors: {
  custom: {
    50: '#5b7485',
    500: '#123f56',
    950: '#000000',
  },
}
SCSS
$custom: #123f56;
$custom-light: #5b7485;
$custom-dark: #000000;
JSON
{
  "hex": "#123f56",
  "rgb": {
    "r": 18,
    "g": 63,
    "b": 86
  },
  "hsl": {
    "h": 200.294,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.34895,
    "c": 0.06238,
    "h": 235.1
  },
  "luminance": 0.04355
}

Semantic roles & 50–950 ramp

primary
#123F56
secondary
#8F5335
accent
#793FE8
background
#F5F7F8
surface
#E9EDEF
border
#C5C8CA
text
#04080B
muted
#797B7C

Preview Lab

Preview with #123F56

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

Preview Lab → · Contrast checker → · Palette generator →

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