#23309C#23309C

#23309C is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.9% C 0.173 H 270.0°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#23309C
RGBrgb(35, 48, 156)
HSLhsl(234, 63%, 37%)
HSVhsv(234, 78%, 61%)
CMYKcmyk(77.6%, 69.2%, 0%, 38.8%)
CIE-LABlab(26.36, 34.20, -59.90)
CIE-LCHlch(26.36, 68.98, 299.73°)
OKLaboklab(37.91% 0 -0.1734)
OKLCHoklch(37.91% 0.173 270)
XYZxyz(7.7488, 4.8707, 31.9778)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23309C #9C8F23
analogous
#236C9C #23309C #53239C
triadic
#23309C #9C2330 #309C23
tetradic
#23309C #9C236C #9C8F23 #239C53
square
#23309C #9C236C #9C8F23 #239C53
split-complementary
#23309C #9C5323 #6C9C23
monochromatic
#0D1138 #18216A #23309C #2E3FCE #5E6CDB

Accessibility & contrast

On white

10.64
#23309C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#23309C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23309C
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23309C#FFFFFF#000000##FFFFFF
##23309C1.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449F
Deuteranopia (green-blind)
#00399A
Tritanopia (blue-blind)
#004E62
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #23309c;
/* rgb */ color: rgb(35, 48, 156);
/* oklch */ color: oklch(37.9% 0.173 270.0);
Tailwind
colors: {
  custom: {
    50: '#7368ba',
    500: '#23309c',
    950: '#000000',
  },
}
SCSS
$custom: #23309c;
$custom-light: #7368ba;
$custom-dark: #000000;
JSON
{
  "hex": "#23309c",
  "rgb": {
    "r": 35,
    "g": 48,
    "b": 156
  },
  "hsl": {
    "h": 233.554,
    "s": 63.351,
    "l": 37.451
  },
  "oklch": {
    "l": 0.37908,
    "c": 0.17338,
    "h": 270
  },
  "luminance": 0.04872
}

Semantic roles & 50–950 ramp

primary
#23309C
secondary
#C0B55B
accent
#D541E6
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #23309C

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

Preview Lab → · Contrast checker → · Palette generator →

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