#23517C#23517C

#23517C is a dark, moderate cyan. Relative luminance 0.077; OKLCH L 42.5% C 0.088 H 249.3°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#23517C
RGBrgb(35, 81, 124)
HSLhsl(209, 56%, 31%)
HSVhsv(209, 72%, 49%)
CMYKcmyk(71.8%, 34.7%, 0%, 51.4%)
CIE-LABlab(33.34, -0.42, -28.93)
CIE-LCHlch(33.34, 28.93, 269.17°)
OKLaboklab(42.46% -0.031 -0.082)
OKLCHoklch(42.46% 0.088 249.3)
XYZxyz(7.2723, 7.6966, 20.1672)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23517C #7C4E23
analogous
#237C7A #23517C #23247C
triadic
#23517C #7C2351 #517C23
tetradic
#23517C #7A237C #7C4E23 #247C23
square
#23517C #7A237C #7C4E23 #247C23
split-complementary
#23517C #7C2324 #7C7A23
monochromatic
#08131D #16324C #23517C #3070AC #4D8FCD

Accessibility & contrast

On white

8.27
#23517C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#23517C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23517C
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23517C#FFFFFF#000000##FFFFFF
##23517C1.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E537E
Deuteranopia (green-blind)
#314B7B
Tritanopia (blue-blind)
#005B60
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #23517c;
/* rgb */ color: rgb(35, 81, 124);
/* oklch */ color: oklch(42.5% 0.088 249.3);
Tailwind
colors: {
  custom: {
    50: '#6981a2',
    500: '#23517c',
    950: '#000000',
  },
}
SCSS
$custom: #23517c;
$custom-light: #6981a2;
$custom-dark: #000000;
JSON
{
  "hex": "#23517c",
  "rgb": {
    "r": 35,
    "g": 81,
    "b": 124
  },
  "hsl": {
    "h": 208.989,
    "s": 55.975,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42455,
    "c": 0.08768,
    "h": 249.3
  },
  "luminance": 0.07697
}

Semantic roles & 50–950 ramp

primary
#23517C
secondary
#AF7C4C
accent
#9149DF
background
#F6F7FA
surface
#EBEEF3
border
#C6C9CD
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #23517C

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

Preview Lab → · Contrast checker → · Palette generator →

#23517C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva