#23508F#23508F

#23508F is a dark, moderate blue. Relative luminance 0.081; OKLCH L 43.4% C 0.115 H 257.4°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#23508F
RGBrgb(35, 80, 143)
HSLhsl(215, 61%, 35%)
HSVhsv(215, 76%, 56%)
CMYKcmyk(75.5%, 44.1%, 0%, 43.9%)
CIE-LABlab(34.14, 7.62, -39.34)
CIE-LCHlch(34.14, 40.07, 280.96°)
OKLaboklab(43.44% -0.0251 -0.1125)
OKLCHoklch(43.44% 0.115 257.4)
XYZxyz(8.5179, 8.0769, 27.0913)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23508F #8F6223
analogous
#23868F #23508F #2C238F
triadic
#23508F #8F2350 #508F23
tetradic
#23508F #8F2386 #8F6223 #238F2C
square
#23508F #8F2386 #8F6223 #238F2C
split-complementary
#23508F #8F2C23 #868F23
monochromatic
#0B192D #17345E #23508F #2F6CC0 #578CD6

Accessibility & contrast

On white

8.03
#23508F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#23508F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23508F
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23508F#FFFFFF#000000##FFFFFF
##23508F1.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315691
Deuteranopia (green-blind)
#1D4C8E
Tritanopia (blue-blind)
#005F68
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #23508f;
/* rgb */ color: rgb(35, 80, 143);
/* oklch */ color: oklch(43.4% 0.115 257.4);
Tailwind
colors: {
  custom: {
    50: '#6d80b0',
    500: '#23508f',
    950: '#000000',
  },
}
SCSS
$custom: #23508f;
$custom-light: #6d80b0;
$custom-dark: #000000;
JSON
{
  "hex": "#23508f",
  "rgb": {
    "r": 35,
    "g": 80,
    "b": 143
  },
  "hsl": {
    "h": 215,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.4344,
    "c": 0.1153,
    "h": 257.4
  },
  "luminance": 0.08078
}

Semantic roles & 50–950 ramp

primary
#23508F
secondary
#BA8F54
accent
#A144E4
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #23508F

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

Preview Lab → · Contrast checker → · Palette generator →

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