#123D58#123D58

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

Color values

HEX#123D58
RGBrgb(18, 61, 88)
HSLhsl(203, 66%, 21%)
HSVhsv(203, 80%, 35%)
CMYKcmyk(79.5%, 30.7%, 0%, 65.5%)
CIE-LABlab(24.23, -4.25, -20.40)
CIE-LCHlch(24.23, 20.84, 258.22°)
OKLaboklab(34.46% -0.0326 -0.0576)
OKLCHoklch(34.46% 0.066 240.5)
XYZxyz(3.6790, 4.1702, 9.8417)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123D58 #582D12
analogous
#125850 #123D58 #121A58
triadic
#123D58 #58123D #3D5812
tetradic
#123D58 #501258 #582D12 #1A5812
square
#123D58 #501258 #582D12 #1A5812
split-complementary
#123D58 #58121A #585012
monochromatic
#051219 #081A25 #123D58 #1C608B #2783BE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##123D58#FFFFFF#000000##FFFFFF
##123D581.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)
#303D59
Deuteranopia (green-blind)
#273758
Tritanopia (blue-blind)
#004446
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #123d58;
/* rgb */ color: rgb(18, 61, 88);
/* oklch */ color: oklch(34.5% 0.066 240.5);
Tailwind
colors: {
  custom: {
    50: '#5b7287',
    500: '#123d58',
    950: '#000000',
  },
}
SCSS
$custom: #123d58;
$custom-light: #5b7287;
$custom-dark: #000000;
JSON
{
  "hex": "#123d58",
  "rgb": {
    "r": 18,
    "g": 61,
    "b": 88
  },
  "hsl": {
    "h": 203.143,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.34464,
    "c": 0.06625,
    "h": 240.5
  },
  "luminance": 0.04171
}

Semantic roles & 50–950 ramp

primary
#123D58
secondary
#915835
accent
#803FE9
background
#F5F6F8
surface
#E9ECEF
border
#C5C7CA
text
#04070B
muted
#797A7C

Preview Lab

Preview with #123D58

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

Preview Lab → · Contrast checker → · Palette generator →

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