#123C5E#123C5E

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

Color values

HEX#123C5E
RGBrgb(18, 60, 94)
HSLhsl(207, 68%, 22%)
HSVhsv(207, 81%, 37%)
CMYKcmyk(80.9%, 36.2%, 0%, 63.1%)
CIE-LABlab(24.22, -1.13, -24.33)
CIE-LCHlch(24.22, 24.36, 267.35°)
OKLaboklab(34.57% -0.0295 -0.0691)
OKLCHoklch(34.57% 0.075 246.9)
XYZxyz(3.8849, 4.1680, 11.1873)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123C5E #5E3412
analogous
#125E5A #123C5E #12165E
triadic
#123C5E #5E123C #3C5E12
tetradic
#123C5E #5A125E #5E3412 #165E12
square
#123C5E #5A125E #5E3412 #165E12
split-complementary
#123C5E #5E1216 #5E5A12
monochromatic
#05101A #081B2B #123C5E #1C5D91 #267EC5

Accessibility & contrast

On white

11.45
#123C5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#123C5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123C5E
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123C5E#FFFFFF#000000##FFFFFF
##123C5E1.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3D5F
Deuteranopia (green-blind)
#21365D
Tritanopia (blue-blind)
#004448
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #123c5e;
/* rgb */ color: rgb(18, 60, 94);
/* oklch */ color: oklch(34.6% 0.075 246.9);
Tailwind
colors: {
  custom: {
    50: '#5c718c',
    500: '#123c5e',
    950: '#000000',
  },
}
SCSS
$custom: #123c5e;
$custom-light: #5c718c;
$custom-dark: #000000;
JSON
{
  "hex": "#123c5e",
  "rgb": {
    "r": 18,
    "g": 60,
    "b": 94
  },
  "hsl": {
    "h": 206.842,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.34567,
    "c": 0.07513,
    "h": 246.9
  },
  "luminance": 0.04168
}

Semantic roles & 50–950 ramp

primary
#123C5E
secondary
#966135
accent
#8B3DEB
background
#F5F6F8
surface
#E9ECF0
border
#C5C7CB
text
#05070C
muted
#797A7D

Preview Lab

Preview with #123C5E

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

Preview Lab → · Contrast checker → · Palette generator →

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