#23309E#23309E

#23309E is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.1% C 0.176 H 269.9°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#23309E
RGBrgb(35, 48, 158)
HSLhsl(234, 64%, 38%)
HSVhsv(234, 78%, 62%)
CMYKcmyk(77.8%, 69.6%, 0%, 38%)
CIE-LABlab(26.56, 34.94, -60.80)
CIE-LCHlch(26.56, 70.12, 299.88°)
OKLaboklab(38.11% -0.0002 -0.176)
OKLCHoklch(38.11% 0.176 269.9)
XYZxyz(7.9195, 4.9390, 32.8771)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23309E #9E9123
analogous
#236D9E #23309E #54239E
triadic
#23309E #9E2330 #309E23
tetradic
#23309E #9E236D #9E9123 #239E54
square
#23309E #9E236D #9E9123 #239E54
split-complementary
#23309E #9E5423 #6D9E23
monochromatic
#0D123A #18216C #23309E #2E3FD0 #606DDC

Accessibility & contrast

On white

10.56
#23309E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#23309E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23309E
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23309E#FFFFFF#000000##FFFFFF
##23309E1.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A1
Deuteranopia (green-blind)
#00399C
Tritanopia (blue-blind)
#004E63
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #23309e;
/* rgb */ color: rgb(35, 48, 158);
/* oklch */ color: oklch(38.1% 0.176 269.9);
Tailwind
colors: {
  custom: {
    50: '#7368bc',
    500: '#23309e',
    950: '#000000',
  },
}
SCSS
$custom: #23309e;
$custom-light: #7368bc;
$custom-dark: #000000;
JSON
{
  "hex": "#23309e",
  "rgb": {
    "r": 35,
    "g": 48,
    "b": 158
  },
  "hsl": {
    "h": 233.659,
    "s": 63.731,
    "l": 37.843
  },
  "oklch": {
    "l": 0.3811,
    "c": 0.17599,
    "h": 269.9
  },
  "luminance": 0.0494
}

Semantic roles & 50–950 ramp

primary
#23309E
secondary
#C1B65C
accent
#D541E7
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #23309E

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

Preview Lab → · Contrast checker → · Palette generator →

#23309E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva