#23309B#23309B

#23309B is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.8% C 0.172 H 270.0°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#23309B
RGBrgb(35, 48, 155)
HSLhsl(234, 63%, 37%)
HSVhsv(234, 77%, 61%)
CMYKcmyk(77.4%, 69%, 0%, 39.2%)
CIE-LABlab(26.26, 33.84, -59.45)
CIE-LCHlch(26.26, 68.41, 299.65°)
OKLaboklab(37.81% 0.0001 -0.1721)
OKLCHoklch(37.81% 0.172 270)
XYZxyz(7.6645, 4.8369, 31.5337)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23309B #9B8E23
analogous
#236C9B #23309B #52239B
triadic
#23309B #9B2330 #309B23
tetradic
#23309B #9B236C #9B8E23 #239B52
square
#23309B #9B236C #9B8E23 #239B52
split-complementary
#23309B #9B5223 #6C9B23
monochromatic
#0C1137 #182169 #23309B #2E3FCD #5E6BDB

Accessibility & contrast

On white

10.67
#23309B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23309B
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23309B#FFFFFF#000000##FFFFFF
##23309B1.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #23309b;
/* rgb */ color: rgb(35, 48, 155);
/* oklch */ color: oklch(37.8% 0.172 270.0);
Tailwind
colors: {
  custom: {
    50: '#7268ba',
    500: '#23309b',
    950: '#000000',
  },
}
SCSS
$custom: #23309b;
$custom-light: #7268ba;
$custom-dark: #000000;
JSON
{
  "hex": "#23309b",
  "rgb": {
    "r": 35,
    "g": 48,
    "b": 155
  },
  "hsl": {
    "h": 233.5,
    "s": 63.158,
    "l": 37.255
  },
  "oklch": {
    "l": 0.37807,
    "c": 0.17207,
    "h": 270
  },
  "luminance": 0.04838
}

Semantic roles & 50–950 ramp

primary
#23309B
secondary
#BFB45A
accent
#D442E6
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #23309B

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

Preview Lab → · Contrast checker → · Palette generator →

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