#23308C#23308C

#23308C is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.3% C 0.152 H 270.5°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#23308C
RGBrgb(35, 48, 140)
HSLhsl(233, 60%, 34%)
HSVhsv(233, 75%, 55%)
CMYKcmyk(75%, 65.7%, 0%, 45.1%)
CIE-LABlab(24.84, 28.25, -52.55)
CIE-LCHlch(24.84, 59.66, 298.26°)
OKLaboklab(36.33% 0.0012 -0.1519)
OKLCHoklch(36.33% 0.152 270.5)
XYZxyz(6.4821, 4.3640, 25.3066)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23308C #8C7F23
analogous
#23658C #23308C #4A238C
triadic
#23308C #8C2330 #308C23
tetradic
#23308C #8C2365 #8C7F23 #238C4A
square
#23308C #8C2365 #8C7F23 #238C4A
split-complementary
#23308C #8C4A23 #658C23
monochromatic
#0B0E2A #171F5B #23308C #2F41BD #5565D4

Accessibility & contrast

On white

11.21
#23308C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#23308C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23308C
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23308C#FFFFFF#000000##FFFFFF
##23308C1.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408F
Deuteranopia (green-blind)
#00368A
Tritanopia (blue-blind)
#004859
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #23308c;
/* rgb */ color: rgb(35, 48, 140);
/* oklch */ color: oklch(36.3% 0.152 270.5);
Tailwind
colors: {
  custom: {
    50: '#6f68ae',
    500: '#23308c',
    950: '#000000',
  },
}
SCSS
$custom: #23308c;
$custom-light: #6f68ae;
$custom-dark: #000000;
JSON
{
  "hex": "#23308c",
  "rgb": {
    "r": 35,
    "g": 48,
    "b": 140
  },
  "hsl": {
    "h": 232.571,
    "s": 60,
    "l": 34.314
  },
  "oklch": {
    "l": 0.36331,
    "c": 0.15189,
    "h": 270.5
  },
  "luminance": 0.04365
}

Semantic roles & 50–950 ramp

primary
#23308C
secondary
#B8AC52
accent
#D045E3
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #23308C

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

Preview Lab → · Contrast checker → · Palette generator →

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