#23517F#23517F

#23517F is a dark, moderate cyan. Relative luminance 0.078; OKLCH L 42.6% C 0.092 H 250.9°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#23517F
RGBrgb(35, 81, 127)
HSLhsl(210, 57%, 32%)
HSVhsv(210, 72%, 50%)
CMYKcmyk(72.4%, 36.2%, 0%, 50.2%)
CIE-LABlab(33.51, 0.73, -30.53)
CIE-LCHlch(33.51, 30.54, 271.37°)
OKLaboklab(42.64% -0.0301 -0.0867)
OKLCHoklch(42.64% 0.092 250.9)
XYZxyz(7.4649, 7.7737, 21.1816)
Luminance0.0777 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23517F #7F5123
analogous
#237F7F #23517F #23237F
triadic
#23517F #7F2351 #517F23
tetradic
#23517F #7F237F #7F5123 #237F23
square
#23517F #7F237F #7F5123 #237F23
split-complementary
#23517F #7F2323 #7F7F23
monochromatic
#09141F #16324F #23517F #3070AF #4E8ECE

Accessibility & contrast

On white

8.22
#23517F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#23517F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23517F
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23517F#FFFFFF#000000##FFFFFF
##23517F1.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5481
Deuteranopia (green-blind)
#2F4B7E
Tritanopia (blue-blind)
#005C62
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #23517f;
/* rgb */ color: rgb(35, 81, 127);
/* oklch */ color: oklch(42.6% 0.092 250.9);
Tailwind
colors: {
  custom: {
    50: '#6a81a4',
    500: '#23517f',
    950: '#000000',
  },
}
SCSS
$custom: #23517f;
$custom-light: #6a81a4;
$custom-dark: #000000;
JSON
{
  "hex": "#23517f",
  "rgb": {
    "r": 35,
    "g": 81,
    "b": 127
  },
  "hsl": {
    "h": 210,
    "s": 56.79,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42638,
    "c": 0.09177,
    "h": 250.9
  },
  "luminance": 0.07774
}

Semantic roles & 50–950 ramp

primary
#23517F
secondary
#B17F4C
accent
#9448E0
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #23517F

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

Preview Lab → · Contrast checker → · Palette generator →

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