#23308A#23308A

#23308A is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.1% C 0.149 H 270.5°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#23308A
RGBrgb(35, 48, 138)
HSLhsl(232, 60%, 34%)
HSVhsv(232, 75%, 54%)
CMYKcmyk(74.6%, 65.2%, 0%, 45.9%)
CIE-LABlab(24.66, 27.49, -51.61)
CIE-LCHlch(24.66, 58.47, 298.04°)
OKLaboklab(36.14% 0.0013 -0.1491)
OKLCHoklch(36.14% 0.149 270.5)
XYZxyz(6.3360, 4.3056, 24.5370)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23308A #8A7D23
analogous
#23648A #23308A #4A238A
triadic
#23308A #8A2330 #308A23
tetradic
#23308A #8A2364 #8A7D23 #238A4A
square
#23308A #8A2364 #8A7D23 #238A4A
split-complementary
#23308A #8A4A23 #648A23
monochromatic
#0A0E28 #171F59 #23308A #2F41BB #5464D4

Accessibility & contrast

On white

11.28
#23308A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#23308A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23308A
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23308A#FFFFFF#000000##FFFFFF
##23308A1.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8D
Deuteranopia (green-blind)
#003688
Tritanopia (blue-blind)
#004758
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #23308a;
/* rgb */ color: rgb(35, 48, 138);
/* oklch */ color: oklch(36.1% 0.149 270.5);
Tailwind
colors: {
  custom: {
    50: '#6e68ad',
    500: '#23308a',
    950: '#000000',
  },
}
SCSS
$custom: #23308a;
$custom-light: #6e68ad;
$custom-dark: #000000;
JSON
{
  "hex": "#23308a",
  "rgb": {
    "r": 35,
    "g": 48,
    "b": 138
  },
  "hsl": {
    "h": 232.427,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.3614,
    "c": 0.14914,
    "h": 270.5
  },
  "luminance": 0.04306
}

Semantic roles & 50–950 ramp

primary
#23308A
secondary
#B7AB51
accent
#CF45E3
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #23308A

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

Preview Lab → · Contrast checker → · Palette generator →

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