#23789D#23789D

#23789D is a mid, moderate cyan. Relative luminance 0.162; OKLCH L 54.0% C 0.097 H 231.8°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#23789D
RGBrgb(35, 120, 157)
HSLhsl(198, 64%, 38%)
HSVhsv(198, 78%, 62%)
CMYKcmyk(77.7%, 23.6%, 0%, 38.4%)
CIE-LABlab(47.27, -11.87, -27.02)
CIE-LCHlch(47.27, 29.51, 246.29°)
OKLaboklab(54.02% -0.0599 -0.0761)
OKLCHoklch(54.02% 0.097 231.8)
XYZxyz(13.4929, 16.2230, 34.3120)
Luminance0.1623 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23789D #9D4823
analogous
#239D85 #23789D #233B9D
triadic
#23789D #9D2378 #789D23
tetradic
#23789D #85239D #9D4823 #3B9D23
square
#23789D #85239D #9D4823 #3B9D23
split-complementary
#23789D #9D233B #9D8523
monochromatic
#0D2B39 #18526B #23789D #2E9ECF #5FB6DB

Accessibility & contrast

On white

4.95
#23789D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#23789D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #23789D
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23789D#FFFFFF#000000##FFFFFF
##23789D1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#65779F
Deuteranopia (green-blind)
#556B9C
Tritanopia (blue-blind)
#008284
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #23789d;
/* rgb */ color: rgb(35, 120, 157);
/* oklch */ color: oklch(54.0% 0.097 231.8);
Tailwind
colors: {
  custom: {
    50: '#719fba',
    500: '#23789d',
    950: '#000000',
  },
}
SCSS
$custom: #23789d;
$custom-light: #719fba;
$custom-dark: #000000;
JSON
{
  "hex": "#23789d",
  "rgb": {
    "r": 35,
    "g": 120,
    "b": 157
  },
  "hsl": {
    "h": 198.197,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.54019,
    "c": 0.09684,
    "h": 231.8
  },
  "luminance": 0.16225
}

Semantic roles & 50–950 ramp

primary
#23789D
secondary
#C07A5C
accent
#7341E7
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #23789D

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

Preview Lab → · Contrast checker → · Palette generator →

#23789D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva