#123B56#123B56

#123B56 is a dark, moderate cyan. Relative luminance 0.039; OKLCH L 33.8% C 0.065 H 241.6°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#123B56
RGBrgb(18, 59, 86)
HSLhsl(204, 65%, 20%)
HSVhsv(204, 79%, 34%)
CMYKcmyk(79.1%, 31.4%, 0%, 66.3%)
CIE-LABlab(23.43, -3.74, -20.33)
CIE-LCHlch(23.43, 20.67, 259.58°)
OKLaboklab(33.8% -0.0311 -0.0575)
OKLCHoklch(33.8% 0.065 241.6)
XYZxyz(3.4925, 3.9280, 9.3764)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123B56 #562D12
analogous
#12564F #123B56 #121956
triadic
#123B56 #56123B #3B5612
tetradic
#123B56 #4F1256 #562D12 #195612
square
#123B56 #4F1256 #562D12 #195612
split-complementary
#123B56 #561219 #564F12
monochromatic
#051119 #071823 #123B56 #1D5E89 #2780BB

Accessibility & contrast

On white

11.76
#123B56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#123B56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123B56
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123B56#FFFFFF#000000##FFFFFF
##123B561.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3B57
Deuteranopia (green-blind)
#253556
Tritanopia (blue-blind)
#004244
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #123b56;
/* rgb */ color: rgb(18, 59, 86);
/* oklch */ color: oklch(33.8% 0.065 241.6);
Tailwind
colors: {
  custom: {
    50: '#5b7085',
    500: '#123b56',
    950: '#000000',
  },
}
SCSS
$custom: #123b56;
$custom-light: #5b7085;
$custom-dark: #000000;
JSON
{
  "hex": "#123b56",
  "rgb": {
    "r": 18,
    "g": 59,
    "b": 86
  },
  "hsl": {
    "h": 203.824,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.33799,
    "c": 0.06537,
    "h": 241.6
  },
  "luminance": 0.03928
}

Semantic roles & 50–950 ramp

primary
#123B56
secondary
#8F5935
accent
#833FE8
background
#F5F6F8
surface
#E9ECEF
border
#C5C7CA
text
#04070B
muted
#797A7C

Preview Lab

Preview with #123B56

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

Preview Lab → · Contrast checker → · Palette generator →

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