#23799F#23799F

#23799F is a mid, moderate cyan. Relative luminance 0.165; OKLCH L 54.4% C 0.098 H 232.2°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#23799F
RGBrgb(35, 121, 159)
HSLhsl(198, 64%, 38%)
HSVhsv(198, 78%, 62%)
CMYKcmyk(78%, 23.9%, 0%, 37.6%)
CIE-LABlab(47.67, -11.72, -27.57)
CIE-LCHlch(47.67, 29.96, 246.97°)
OKLaboklab(54.37% -0.0602 -0.0776)
OKLCHoklch(54.37% 0.098 232.2)
XYZxyz(13.7860, 16.5336, 35.2589)
Luminance0.1653 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23799F #9F4923
analogous
#239F87 #23799F #233B9F
triadic
#23799F #9F2379 #799F23
tetradic
#23799F #87239F #9F4923 #3B9F23
square
#23799F #87239F #9F4923 #3B9F23
split-complementary
#23799F #9F233B #9F8723
monochromatic
#0D2D3B #18536D #23799F #2E9FD1 #60B6DC

Accessibility & contrast

On white

4.88
#23799F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#23799F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #23799F
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23799F#FFFFFF#000000##FFFFFF
##23799F1.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6678A1
Deuteranopia (green-blind)
#556C9E
Tritanopia (blue-blind)
#008386
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #23799f;
/* rgb */ color: rgb(35, 121, 159);
/* oklch */ color: oklch(54.4% 0.098 232.2);
Tailwind
colors: {
  custom: {
    50: '#719fbb',
    500: '#23799f',
    950: '#000000',
  },
}
SCSS
$custom: #23799f;
$custom-light: #719fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#23799f",
  "rgb": {
    "r": 35,
    "g": 121,
    "b": 159
  },
  "hsl": {
    "h": 198.387,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.54368,
    "c": 0.09824,
    "h": 232.2
  },
  "luminance": 0.16535
}

Semantic roles & 50–950 ramp

primary
#23799F
secondary
#C17B5D
accent
#7441E7
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #23799F

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

Preview Lab → · Contrast checker → · Palette generator →

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