#23309F#23309F

#23309F is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.2% C 0.177 H 269.9°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#23309F
RGBrgb(35, 48, 159)
HSLhsl(234, 64%, 38%)
HSVhsv(234, 78%, 62%)
CMYKcmyk(78%, 69.8%, 0%, 37.6%)
CIE-LABlab(26.66, 35.30, -61.24)
CIE-LCHlch(26.66, 70.69, 299.96°)
OKLaboklab(38.21% -0.0003 -0.1773)
OKLCHoklch(38.21% 0.177 269.9)
XYZxyz(8.0060, 4.9735, 33.3322)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23309F #9F9223
analogous
#236E9F #23309F #54239F
triadic
#23309F #9F2330 #309F23
tetradic
#23309F #9F236E #9F9223 #239F54
square
#23309F #9F236E #9F9223 #239F54
split-complementary
#23309F #9F5423 #6E9F23
monochromatic
#0D123B #18216D #23309F #2E3FD1 #606DDC

Accessibility & contrast

On white

10.53
#23309F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#23309F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23309F
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23309F#FFFFFF#000000##FFFFFF
##23309F1.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A2
Deuteranopia (green-blind)
#00399D
Tritanopia (blue-blind)
#004F63
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #23309f;
/* rgb */ color: rgb(35, 48, 159);
/* oklch */ color: oklch(38.2% 0.177 269.9);
Tailwind
colors: {
  custom: {
    50: '#7369bc',
    500: '#23309f',
    950: '#000000',
  },
}
SCSS
$custom: #23309f;
$custom-light: #7369bc;
$custom-dark: #000000;
JSON
{
  "hex": "#23309f",
  "rgb": {
    "r": 35,
    "g": 48,
    "b": 159
  },
  "hsl": {
    "h": 233.71,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.38212,
    "c": 0.17729,
    "h": 269.9
  },
  "luminance": 0.04974
}

Semantic roles & 50–950 ramp

primary
#23309F
secondary
#C1B75D
accent
#D641E7
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #23309F

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

Preview Lab → · Contrast checker → · Palette generator →

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