#23509C#23509C

#23509C is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.4% C 0.134 H 260.2°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#23509C
RGBrgb(35, 80, 156)
HSLhsl(218, 63%, 37%)
HSVhsv(218, 78%, 61%)
CMYKcmyk(77.6%, 48.7%, 0%, 38.8%)
CIE-LABlab(34.99, 12.74, -45.86)
CIE-LCHlch(34.99, 47.59, 285.53°)
OKLaboklab(44.37% -0.0227 -0.1317)
OKLCHoklch(44.37% 0.134 260.2)
XYZxyz(9.5604, 8.4939, 32.5817)
Luminance0.0849 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23509C #9C6F23
analogous
#238D9C #23509C #32239C
triadic
#23509C #9C2350 #509C23
tetradic
#23509C #9C238D #9C6F23 #239C32
square
#23509C #9C238D #9C6F23 #239C32
split-complementary
#23509C #9C3223 #8D9C23
monochromatic
#0D1D38 #18366A #23509C #2E6ACE #5E8DDB

Accessibility & contrast

On white

7.78
#23509C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#23509C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23509C
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23509C#FFFFFF#000000##FFFFFF
##23509C1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25589F
Deuteranopia (green-blind)
#004D9A
Tritanopia (blue-blind)
#00626E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #23509c;
/* rgb */ color: rgb(35, 80, 156);
/* oklch */ color: oklch(44.4% 0.134 260.2);
Tailwind
colors: {
  custom: {
    50: '#7080ba',
    500: '#23509c',
    950: '#000000',
  },
}
SCSS
$custom: #23509c;
$custom-light: #7080ba;
$custom-dark: #000000;
JSON
{
  "hex": "#23509c",
  "rgb": {
    "r": 35,
    "g": 80,
    "b": 156
  },
  "hsl": {
    "h": 217.686,
    "s": 63.351,
    "l": 37.451
  },
  "oklch": {
    "l": 0.44367,
    "c": 0.13365,
    "h": 260.2
  },
  "luminance": 0.08495
}

Semantic roles & 50–950 ramp

primary
#23509C
secondary
#C09A5B
accent
#A941E6
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #23509C

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

Preview Lab → · Contrast checker → · Palette generator →

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