#23399D#23399D

#23399D is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.6% C 0.164 H 268.1°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#23399D
RGBrgb(35, 57, 157)
HSLhsl(229, 64%, 38%)
HSVhsv(229, 78%, 62%)
CMYKcmyk(77.7%, 63.7%, 0%, 38.4%)
CIE-LABlab(28.69, 28.68, -56.70)
CIE-LCHlch(28.69, 63.54, 296.83°)
OKLaboklab(39.64% -0.0054 -0.164)
OKLCHoklch(39.64% 0.164 268.1)
XYZxyz(8.2400, 5.7170, 32.5610)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23399D #9D8723
analogous
#23769D #23399D #4A239D
triadic
#23399D #9D2339 #399D23
tetradic
#23399D #9D2376 #9D8723 #239D4A
square
#23399D #9D2376 #9D8723 #239D4A
split-complementary
#23399D #9D4A23 #769D23
monochromatic
#0D1539 #18276B #23399D #2E4BCF #5F75DB

Accessibility & contrast

On white

9.80
#23399D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#23399D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23399D
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23399D#FFFFFF#000000##FFFFFF
##23399D1.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A0
Deuteranopia (green-blind)
#003E9B
Tritanopia (blue-blind)
#005365
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #23399d;
/* rgb */ color: rgb(35, 57, 157);
/* oklch */ color: oklch(39.6% 0.164 268.1);
Tailwind
colors: {
  custom: {
    50: '#726fbb',
    500: '#23399d',
    950: '#000000',
  },
}
SCSS
$custom: #23399d;
$custom-light: #726fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#23399d",
  "rgb": {
    "r": 35,
    "g": 57,
    "b": 157
  },
  "hsl": {
    "h": 229.18,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.39638,
    "c": 0.16404,
    "h": 268.1
  },
  "luminance": 0.05718
}

Semantic roles & 50–950 ramp

primary
#23399D
secondary
#C0AE5C
accent
#C941E7
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #23399D

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

Preview Lab → · Contrast checker → · Palette generator →

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