#123D5B#123D5B

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

Color values

HEX#123D5B
RGBrgb(18, 61, 91)
HSLhsl(205, 67%, 21%)
HSVhsv(205, 80%, 36%)
CMYKcmyk(80.2%, 33%, 0%, 64.3%)
CIE-LABlab(24.39, -3.03, -22.11)
CIE-LCHlch(24.39, 22.31, 262.18°)
OKLaboklab(34.65% -0.0316 -0.0626)
OKLCHoklch(34.65% 0.07 243.2)
XYZxyz(3.8058, 4.2210, 10.5097)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123D5B #5B3012
analogous
#125B55 #123D5B #12195B
triadic
#123D5B #5B123D #3D5B12
tetradic
#123D5B #55125B #5B3012 #195B12
square
#123D5B #55125B #5B3012 #195B12
split-complementary
#123D5B #5B1219 #5B5512
monochromatic
#05111A #081B28 #123D5B #1C5F8E #2681C1

Accessibility & contrast

On white

11.39
#123D5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #123D5B
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123D5B#FFFFFF#000000##FFFFFF
##123D5B1.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3E5C
Deuteranopia (green-blind)
#25375A
Tritanopia (blue-blind)
#004448
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #123d5b;
/* rgb */ color: rgb(18, 61, 91);
/* oklch */ color: oklch(34.6% 0.070 243.2);
Tailwind
colors: {
  custom: {
    50: '#5c7289',
    500: '#123d5b',
    950: '#000000',
  },
}
SCSS
$custom: #123d5b;
$custom-light: #5c7289;
$custom-dark: #000000;
JSON
{
  "hex": "#123d5b",
  "rgb": {
    "r": 18,
    "g": 61,
    "b": 91
  },
  "hsl": {
    "h": 204.658,
    "s": 66.972,
    "l": 21.373
  },
  "oklch": {
    "l": 0.34646,
    "c": 0.07011,
    "h": 243.2
  },
  "luminance": 0.04221
}

Semantic roles & 50–950 ramp

primary
#123D5B
secondary
#935C35
accent
#853EEA
background
#F5F6F8
surface
#E9ECF0
border
#C5C7CB
text
#04070B
muted
#797A7C

Preview Lab

Preview with #123D5B

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

Preview Lab → · Contrast checker → · Palette generator →

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