#123D5D#123D5D

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

Color values

HEX#123D5D
RGBrgb(18, 61, 93)
HSLhsl(206, 68%, 22%)
HSVhsv(206, 81%, 36%)
CMYKcmyk(80.6%, 34.4%, 0%, 63.5%)
CIE-LABlab(24.50, -2.21, -23.24)
CIE-LCHlch(24.50, 23.34, 264.56°)
OKLaboklab(34.77% -0.0309 -0.0659)
OKLCHoklch(34.77% 0.073 244.9)
XYZxyz(3.8932, 4.2559, 10.9701)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123D5D #5D3212
analogous
#125D58 #123D5D #12185D
triadic
#123D5D #5D123D #3D5D12
tetradic
#123D5D #58125D #5D3212 #185D12
square
#123D5D #58125D #5D3212 #185D12
split-complementary
#123D5D #5D1218 #5D5812
monochromatic
#05111A #081B2A #123D5D #1C5F90 #2680C4

Accessibility & contrast

On white

11.34
#123D5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #123D5D
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123D5D#FFFFFF#000000##FFFFFF
##123D5D1.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3E5E
Deuteranopia (green-blind)
#24375C
Tritanopia (blue-blind)
#004548
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #123d5d;
/* rgb */ color: rgb(18, 61, 93);
/* oklch */ color: oklch(34.8% 0.073 244.9);
Tailwind
colors: {
  custom: {
    50: '#5c728b',
    500: '#123d5d',
    950: '#000000',
  },
}
SCSS
$custom: #123d5d;
$custom-light: #5c728b;
$custom-dark: #000000;
JSON
{
  "hex": "#123d5d",
  "rgb": {
    "r": 18,
    "g": 61,
    "b": 93
  },
  "hsl": {
    "h": 205.6,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.3477,
    "c": 0.07277,
    "h": 244.9
  },
  "luminance": 0.04256
}

Semantic roles & 50–950 ramp

primary
#123D5D
secondary
#955E35
accent
#873DEA
background
#F5F6F8
surface
#E9ECF0
border
#C5C7CB
text
#05070C
muted
#797A7D

Preview Lab

Preview with #123D5D

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

Preview Lab → · Contrast checker → · Palette generator →

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