#23798F#23798F

#23798F is a mid, moderate cyan. Relative luminance 0.160; OKLCH L 53.6% C 0.085 H 218.9°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#23798F
RGBrgb(35, 121, 143)
HSLhsl(192, 61%, 35%)
HSVhsv(192, 76%, 56%)
CMYKcmyk(75.5%, 15.4%, 0%, 43.9%)
CIE-LABlab(46.99, -17.34, -19.20)
CIE-LCHlch(46.99, 25.87, 227.91°)
OKLaboklab(53.61% -0.0665 -0.0536)
OKLCHoklch(53.61% 0.085 218.9)
XYZxyz(12.4864, 16.0138, 28.4142)
Luminance0.1601 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23798F #8F3923
analogous
#238F6F #23798F #23438F
triadic
#23798F #8F2379 #798F23
tetradic
#23798F #6F238F #8F3923 #438F23
square
#23798F #6F238F #8F3923 #438F23
split-complementary
#23798F #8F2343 #8F6F23
monochromatic
#0B262D #174F5E #23798F #2FA3C0 #57BCD6

Accessibility & contrast

On white

5.00
#23798F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#23798F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #23798F
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23798F#FFFFFF#000000##FFFFFF
##23798F1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B7590
Deuteranopia (green-blind)
#5C6B8F
Tritanopia (blue-blind)
#008080
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #23798f;
/* rgb */ color: rgb(35, 121, 143);
/* oklch */ color: oklch(53.6% 0.085 218.9);
Tailwind
colors: {
  custom: {
    50: '#6fa0af',
    500: '#23798f',
    950: '#000000',
  },
}
SCSS
$custom: #23798f;
$custom-light: #6fa0af;
$custom-dark: #000000;
JSON
{
  "hex": "#23798f",
  "rgb": {
    "r": 35,
    "g": 121,
    "b": 143
  },
  "hsl": {
    "h": 192.222,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.53605,
    "c": 0.08541,
    "h": 218.9
  },
  "luminance": 0.16015
}

Semantic roles & 50–950 ramp

primary
#23798F
secondary
#BA6954
accent
#6544E4
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #23798F

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

Preview Lab → · Contrast checker → · Palette generator →

#23798F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva