#23309D#23309D

#23309D is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.0% C 0.175 H 270.0°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#23309D
RGBrgb(35, 48, 157)
HSLhsl(234, 64%, 38%)
HSVhsv(234, 78%, 62%)
CMYKcmyk(77.7%, 69.4%, 0%, 38.4%)
CIE-LABlab(26.46, 34.57, -60.35)
CIE-LCHlch(26.46, 69.55, 299.81°)
OKLaboklab(38.01% -0.0001 -0.1747)
OKLCHoklch(38.01% 0.175 270)
XYZxyz(7.8338, 4.9047, 32.4256)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23309D #9D9023
analogous
#236D9D #23309D #53239D
triadic
#23309D #9D2330 #309D23
tetradic
#23309D #9D236D #9D9023 #239D53
square
#23309D #9D236D #9D9023 #239D53
split-complementary
#23309D #9D5323 #6D9D23
monochromatic
#0D1139 #18216B #23309D #2E3FCF #5F6CDB

Accessibility & contrast

On white

10.60
#23309D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#23309D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23309D
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23309D#FFFFFF#000000##FFFFFF
##23309D1.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A0
Deuteranopia (green-blind)
#00399B
Tritanopia (blue-blind)
#004E62
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #23309d;
/* rgb */ color: rgb(35, 48, 157);
/* oklch */ color: oklch(38.0% 0.175 270.0);
Tailwind
colors: {
  custom: {
    50: '#7368bb',
    500: '#23309d',
    950: '#000000',
  },
}
SCSS
$custom: #23309d;
$custom-light: #7368bb;
$custom-dark: #000000;
JSON
{
  "hex": "#23309d",
  "rgb": {
    "r": 35,
    "g": 48,
    "b": 157
  },
  "hsl": {
    "h": 233.607,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.38009,
    "c": 0.17469,
    "h": 270
  },
  "luminance": 0.04906
}

Semantic roles & 50–950 ramp

primary
#23309D
secondary
#C0B55C
accent
#D541E7
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #23309D

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

Preview Lab → · Contrast checker → · Palette generator →

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