#123A59#123A59

#123A59 is a dark, moderate cyan. Relative luminance 0.039; OKLCH L 33.7% C 0.070 H 245.7°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#123A59
RGBrgb(18, 58, 89)
HSLhsl(206, 66%, 21%)
HSVhsv(206, 80%, 35%)
CMYKcmyk(79.8%, 34.8%, 0%, 65.1%)
CIE-LABlab(23.26, -1.84, -22.58)
CIE-LCHlch(23.26, 22.66, 265.35°)
OKLaboklab(33.72% -0.029 -0.064)
OKLCHoklch(33.72% 0.07 245.7)
XYZxyz(3.5650, 3.8756, 10.0094)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123A59 #593112
analogous
#125954 #123A59 #121659
triadic
#123A59 #59123A #3A5912
tetradic
#123A59 #541259 #593112 #165912
square
#123A59 #541259 #593112 #165912
split-complementary
#123A59 #591216 #595412
monochromatic
#051119 #081926 #123A59 #1C5B8C #277CBF

Accessibility & contrast

On white

11.83
#123A59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#123A59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123A59
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123A59#FFFFFF#000000##FFFFFF
##123A591.0011.831.7811.83
#FFFFFF11.831.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3B5A
Deuteranopia (green-blind)
#223458
Tritanopia (blue-blind)
#004145
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #123a59;
/* rgb */ color: rgb(18, 58, 89);
/* oklch */ color: oklch(33.7% 0.070 245.7);
Tailwind
colors: {
  custom: {
    50: '#5b6f88',
    500: '#123a59',
    950: '#000000',
  },
}
SCSS
$custom: #123a59;
$custom-light: #5b6f88;
$custom-dark: #000000;
JSON
{
  "hex": "#123a59",
  "rgb": {
    "r": 18,
    "g": 58,
    "b": 89
  },
  "hsl": {
    "h": 206.197,
    "s": 66.355,
    "l": 20.98
  },
  "oklch": {
    "l": 0.33715,
    "c": 0.07029,
    "h": 245.7
  },
  "luminance": 0.03876
}

Semantic roles & 50–950 ramp

primary
#123A59
secondary
#925E35
accent
#893FE9
background
#F5F6F8
surface
#E9ECEF
border
#C5C7CA
text
#04070B
muted
#797A7C

Preview Lab

Preview with #123A59

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

Preview Lab → · Contrast checker → · Palette generator →

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