#123C5F#123C5F

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

Color values

HEX#123C5F
RGBrgb(18, 60, 95)
HSLhsl(207, 68%, 22%)
HSVhsv(207, 81%, 37%)
CMYKcmyk(81.1%, 36.8%, 0%, 62.7%)
CIE-LABlab(24.28, -0.71, -24.89)
CIE-LCHlch(24.28, 24.90, 268.36°)
OKLaboklab(34.63% -0.0291 -0.0707)
OKLCHoklch(34.63% 0.077 247.6)
XYZxyz(3.9301, 4.1861, 11.4251)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123C5F #5F3512
analogous
#125F5C #123C5F #12155F
triadic
#123C5F #5F123C #3C5F12
tetradic
#123C5F #5C125F #5F3512 #155F12
square
#123C5F #5C125F #5F3512 #155F12
split-complementary
#123C5F #5F1215 #5F5C12
monochromatic
#05101A #081C2C #123C5F #1C5C92 #257DC6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##123C5F#FFFFFF#000000##FFFFFF
##123C5F1.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)
#2C3E60
Deuteranopia (green-blind)
#21365E
Tritanopia (blue-blind)
#004449
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #123c5f;
/* rgb */ color: rgb(18, 60, 95);
/* oklch */ color: oklch(34.6% 0.077 247.6);
Tailwind
colors: {
  custom: {
    50: '#5d718c',
    500: '#123c5f',
    950: '#000000',
  },
}
SCSS
$custom: #123c5f;
$custom-light: #5d718c;
$custom-dark: #000000;
JSON
{
  "hex": "#123c5f",
  "rgb": {
    "r": 18,
    "g": 60,
    "b": 95
  },
  "hsl": {
    "h": 207.273,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.34632,
    "c": 0.07652,
    "h": 247.6
  },
  "luminance": 0.04187
}

Semantic roles & 50–950 ramp

primary
#123C5F
secondary
#976236
accent
#8C3DEB
background
#F5F6F8
surface
#E9ECF0
border
#C5C7CB
text
#05070C
muted
#797A7D

Preview Lab

Preview with #123C5F

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

Preview Lab → · Contrast checker → · Palette generator →

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