#123D5E#123D5E

#123D5E is a dark, moderate cyan. Relative luminance 0.043; OKLCH L 34.8% C 0.074 H 245.7°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#123D5E
RGBrgb(18, 61, 94)
HSLhsl(206, 68%, 22%)
HSVhsv(206, 81%, 37%)
CMYKcmyk(80.9%, 35.1%, 0%, 63.1%)
CIE-LABlab(24.56, -1.80, -23.80)
CIE-LCHlch(24.56, 23.87, 265.67°)
OKLaboklab(34.83% -0.0305 -0.0675)
OKLCHoklch(34.83% 0.074 245.7)
XYZxyz(3.9378, 4.2738, 11.2049)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123D5E #5E3312
analogous
#125E59 #123D5E #12175E
triadic
#123D5E #5E123D #3D5E12
tetradic
#123D5E #59125E #5E3312 #175E12
square
#123D5E #59125E #5E3312 #175E12
split-complementary
#123D5E #5E1217 #5E5912
monochromatic
#05111A #081C2B #123D5E #1C5E91 #2680C5

Accessibility & contrast

On white

11.32
#123D5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#123D5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123D5E
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123D5E#FFFFFF#000000##FFFFFF
##123D5E1.0011.321.8511.32
#FFFFFF11.321.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3E5F
Deuteranopia (green-blind)
#23375D
Tritanopia (blue-blind)
#004549
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #123d5e;
/* rgb */ color: rgb(18, 61, 94);
/* oklch */ color: oklch(34.8% 0.074 245.7);
Tailwind
colors: {
  custom: {
    50: '#5c728c',
    500: '#123d5e',
    950: '#000000',
  },
}
SCSS
$custom: #123d5e;
$custom-light: #5c728c;
$custom-dark: #000000;
JSON
{
  "hex": "#123d5e",
  "rgb": {
    "r": 18,
    "g": 61,
    "b": 94
  },
  "hsl": {
    "h": 206.053,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.34833,
    "c": 0.07412,
    "h": 245.7
  },
  "luminance": 0.04274
}

Semantic roles & 50–950 ramp

primary
#123D5E
secondary
#966035
accent
#883DEB
background
#F5F6F8
surface
#E9ECF0
border
#C5C7CB
text
#05070C
muted
#797A7D

Preview Lab

Preview with #123D5E

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

Preview Lab → · Contrast checker → · Palette generator →

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