#123D59#123D59

#123D59 is a dark, moderate cyan. Relative luminance 0.042; OKLCH L 34.5% C 0.068 H 241.4°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#123D59
RGBrgb(18, 61, 89)
HSLhsl(204, 66%, 21%)
HSVhsv(204, 80%, 35%)
CMYKcmyk(79.8%, 31.5%, 0%, 65.1%)
CIE-LABlab(24.28, -3.85, -20.97)
CIE-LCHlch(24.28, 21.32, 259.60°)
OKLaboklab(34.52% -0.0323 -0.0593)
OKLCHoklch(34.52% 0.068 241.4)
XYZxyz(3.7207, 4.1869, 10.0613)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123D59 #592E12
analogous
#125951 #123D59 #121959
triadic
#123D59 #59123D #3D5912
tetradic
#123D59 #511259 #592E12 #195912
square
#123D59 #511259 #592E12 #195912
split-complementary
#123D59 #591219 #595112
monochromatic
#051119 #081A26 #123D59 #1C608C #2783BF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##123D59#FFFFFF#000000##FFFFFF
##123D591.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)
#303D5A
Deuteranopia (green-blind)
#263758
Tritanopia (blue-blind)
#004447
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #123d59;
/* rgb */ color: rgb(18, 61, 89);
/* oklch */ color: oklch(34.5% 0.068 241.4);
Tailwind
colors: {
  custom: {
    50: '#5b7288',
    500: '#123d59',
    950: '#000000',
  },
}
SCSS
$custom: #123d59;
$custom-light: #5b7288;
$custom-dark: #000000;
JSON
{
  "hex": "#123d59",
  "rgb": {
    "r": 18,
    "g": 61,
    "b": 89
  },
  "hsl": {
    "h": 203.662,
    "s": 66.355,
    "l": 20.98
  },
  "oklch": {
    "l": 0.34524,
    "c": 0.06752,
    "h": 241.4
  },
  "luminance": 0.04187
}

Semantic roles & 50–950 ramp

primary
#123D59
secondary
#925A35
accent
#823FE9
background
#F5F6F8
surface
#E9ECEF
border
#C5C7CA
text
#04070B
muted
#797A7C

Preview Lab

Preview with #123D59

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

Preview Lab → · Contrast checker → · Palette generator →

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