#23799D#23799D

#23799D is a mid, moderate cyan. Relative luminance 0.165; OKLCH L 54.3% C 0.096 H 230.8°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#23799D
RGBrgb(35, 121, 157)
HSLhsl(198, 64%, 38%)
HSVhsv(198, 78%, 62%)
CMYKcmyk(77.7%, 22.9%, 0%, 38.4%)
CIE-LABlab(47.58, -12.44, -26.54)
CIE-LCHlch(47.58, 29.31, 244.89°)
OKLaboklab(54.27% -0.0609 -0.0746)
OKLCHoklch(54.27% 0.096 230.8)
XYZxyz(13.6138, 16.4648, 34.3523)
Luminance0.1647 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23799D #9D4723
analogous
#239D84 #23799D #233C9D
triadic
#23799D #9D2379 #799D23
tetradic
#23799D #84239D #9D4723 #3C9D23
square
#23799D #84239D #9D4723 #3C9D23
split-complementary
#23799D #9D233C #9D8423
monochromatic
#0D2C39 #18526B #23799D #2EA0CF #5FB7DB

Accessibility & contrast

On white

4.89
#23799D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#23799D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #23799D
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23799D#FFFFFF#000000##FFFFFF
##23799D1.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#67779F
Deuteranopia (green-blind)
#566C9C
Tritanopia (blue-blind)
#008385
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #23799d;
/* rgb */ color: rgb(35, 121, 157);
/* oklch */ color: oklch(54.3% 0.096 230.8);
Tailwind
colors: {
  custom: {
    50: '#719fba',
    500: '#23799d',
    950: '#000000',
  },
}
SCSS
$custom: #23799d;
$custom-light: #719fba;
$custom-dark: #000000;
JSON
{
  "hex": "#23799d",
  "rgb": {
    "r": 35,
    "g": 121,
    "b": 157
  },
  "hsl": {
    "h": 197.705,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.54268,
    "c": 0.09636,
    "h": 230.8
  },
  "luminance": 0.16466
}

Semantic roles & 50–950 ramp

primary
#23799D
secondary
#C0795C
accent
#7241E7
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #23799D

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

Preview Lab → · Contrast checker → · Palette generator →

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