#23308B#23308B

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

Color values

HEX#23308B
RGBrgb(35, 48, 139)
HSLhsl(233, 60%, 34%)
HSVhsv(233, 75%, 55%)
CMYKcmyk(74.8%, 65.5%, 0%, 45.5%)
CIE-LABlab(24.75, 27.87, -52.08)
CIE-LCHlch(24.75, 59.07, 298.15°)
OKLaboklab(36.24% 0.0013 -0.1505)
OKLCHoklch(36.24% 0.151 270.5)
XYZxyz(6.4087, 4.3346, 24.9200)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23308B #8B7E23
analogous
#23648B #23308B #4A238B
triadic
#23308B #8B2330 #308B23
tetradic
#23308B #8B2364 #8B7E23 #238B4A
square
#23308B #8B2364 #8B7E23 #238B4A
split-complementary
#23308B #8B4A23 #648B23
monochromatic
#0A0E29 #171F5A #23308B #2F41BC #5464D4

Accessibility & contrast

On white

11.25
#23308B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23308B
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23308B#FFFFFF#000000##FFFFFF
##23308B1.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408E
Deuteranopia (green-blind)
#003689
Tritanopia (blue-blind)
#004859
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #23308b;
/* rgb */ color: rgb(35, 48, 139);
/* oklch */ color: oklch(36.2% 0.151 270.5);
Tailwind
colors: {
  custom: {
    50: '#6e68ae',
    500: '#23308b',
    950: '#000000',
  },
}
SCSS
$custom: #23308b;
$custom-light: #6e68ae;
$custom-dark: #000000;
JSON
{
  "hex": "#23308b",
  "rgb": {
    "r": 35,
    "g": 48,
    "b": 139
  },
  "hsl": {
    "h": 232.5,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.36236,
    "c": 0.15052,
    "h": 270.5
  },
  "luminance": 0.04335
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #23308B

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

Preview Lab → · Contrast checker → · Palette generator →

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