#23309A#23309A

#23309A is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.7% C 0.171 H 270.1°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#23309A
RGBrgb(35, 48, 154)
HSLhsl(233, 63%, 37%)
HSVhsv(233, 77%, 60%)
CMYKcmyk(77.3%, 68.8%, 0%, 39.6%)
CIE-LABlab(26.17, 33.47, -59.00)
CIE-LCHlch(26.17, 67.83, 299.57°)
OKLaboklab(37.71% 0.0002 -0.1708)
OKLCHoklch(37.71% 0.171 270.1)
XYZxyz(7.5808, 4.8035, 31.0932)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23309A #9A8D23
analogous
#236C9A #23309A #51239A
triadic
#23309A #9A2330 #309A23
tetradic
#23309A #9A236C #9A8D23 #239A51
square
#23309A #9A236C #9A8D23 #239A51
split-complementary
#23309A #9A5123 #6C9A23
monochromatic
#0C1136 #182068 #23309A #2E40CC #5D6BDA

Accessibility & contrast

On white

10.71
#23309A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#23309A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23309A
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23309A#FFFFFF#000000##FFFFFF
##23309A1.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449D
Deuteranopia (green-blind)
#003898
Tritanopia (blue-blind)
#004D61
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #23309a;
/* rgb */ color: rgb(35, 48, 154);
/* oklch */ color: oklch(37.7% 0.171 270.1);
Tailwind
colors: {
  custom: {
    50: '#7268b9',
    500: '#23309a',
    950: '#000000',
  },
}
SCSS
$custom: #23309a;
$custom-light: #7268b9;
$custom-dark: #000000;
JSON
{
  "hex": "#23309a",
  "rgb": {
    "r": 35,
    "g": 48,
    "b": 154
  },
  "hsl": {
    "h": 233.445,
    "s": 62.963,
    "l": 37.059
  },
  "oklch": {
    "l": 0.37706,
    "c": 0.17075,
    "h": 270.1
  },
  "luminance": 0.04804
}

Semantic roles & 50–950 ramp

primary
#23309A
secondary
#BFB45A
accent
#D442E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #23309A

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

Preview Lab → · Contrast checker → · Palette generator →

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