#123D5A#123D5A

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

Color values

HEX#123D5A
RGBrgb(18, 61, 90)
HSLhsl(204, 67%, 21%)
HSVhsv(204, 80%, 35%)
CMYKcmyk(80%, 32.2%, 0%, 64.7%)
CIE-LABlab(24.33, -3.44, -21.54)
CIE-LCHlch(24.33, 21.81, 260.92°)
OKLaboklab(34.59% -0.0319 -0.061)
OKLCHoklch(34.59% 0.069 242.4)
XYZxyz(3.7629, 4.2038, 10.2840)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123D5A #5A2F12
analogous
#125A53 #123D5A #12195A
triadic
#123D5A #5A123D #3D5A12
tetradic
#123D5A #53125A #5A2F12 #195A12
square
#123D5A #53125A #5A2F12 #195A12
split-complementary
#123D5A #5A1219 #5A5312
monochromatic
#05111A #081A27 #123D5A #1C608D #2682C0

Accessibility & contrast

On white

11.41
#123D5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #123D5A
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123D5A#FFFFFF#000000##FFFFFF
##123D5A1.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303E5B
Deuteranopia (green-blind)
#263759
Tritanopia (blue-blind)
#004447
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #123d5a;
/* rgb */ color: rgb(18, 61, 90);
/* oklch */ color: oklch(34.6% 0.069 242.4);
Tailwind
colors: {
  custom: {
    50: '#5c7289',
    500: '#123d5a',
    950: '#000000',
  },
}
SCSS
$custom: #123d5a;
$custom-light: #5c7289;
$custom-dark: #000000;
JSON
{
  "hex": "#123d5a",
  "rgb": {
    "r": 18,
    "g": 61,
    "b": 90
  },
  "hsl": {
    "h": 204.167,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.34585,
    "c": 0.06881,
    "h": 242.4
  },
  "luminance": 0.04204
}

Semantic roles & 50–950 ramp

primary
#123D5A
secondary
#935B35
accent
#833EEA
background
#F5F6F8
surface
#E9ECF0
border
#C5C7CB
text
#04070B
muted
#797A7C

Preview Lab

Preview with #123D5A

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

Preview Lab → · Contrast checker → · Palette generator →

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