#23399C#23399C

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

Color values

HEX#23399C
RGBrgb(35, 57, 156)
HSLhsl(229, 63%, 37%)
HSVhsv(229, 78%, 61%)
CMYKcmyk(77.6%, 63.5%, 0%, 38.8%)
CIE-LABlab(28.60, 28.29, -56.24)
CIE-LCHlch(28.60, 62.95, 296.71°)
OKLaboklab(39.55% -0.0053 -0.1626)
OKLCHoklch(39.55% 0.163 268.1)
XYZxyz(8.1549, 5.6830, 32.1132)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23399C #9C8623
analogous
#23759C #23399C #4A239C
triadic
#23399C #9C2339 #399C23
tetradic
#23399C #9C2375 #9C8623 #239C4A
square
#23399C #9C2375 #9C8623 #239C4A
split-complementary
#23399C #9C4A23 #759C23
monochromatic
#0D1438 #18276A #23399C #2E4BCE #5E75DB

Accessibility & contrast

On white

9.83
#23399C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23399C
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23399C#FFFFFF#000000##FFFFFF
##23399C1.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499F
Deuteranopia (green-blind)
#003E9A
Tritanopia (blue-blind)
#005365
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #23399c;
/* rgb */ color: rgb(35, 57, 156);
/* oklch */ color: oklch(39.5% 0.163 268.1);
Tailwind
colors: {
  custom: {
    50: '#726fba',
    500: '#23399c',
    950: '#000000',
  },
}
SCSS
$custom: #23399c;
$custom-light: #726fba;
$custom-dark: #000000;
JSON
{
  "hex": "#23399c",
  "rgb": {
    "r": 35,
    "g": 57,
    "b": 156
  },
  "hsl": {
    "h": 229.091,
    "s": 63.351,
    "l": 37.451
  },
  "oklch": {
    "l": 0.39545,
    "c": 0.16269,
    "h": 268.1
  },
  "luminance": 0.05684
}

Semantic roles & 50–950 ramp

primary
#23399C
secondary
#C0AD5B
accent
#C841E6
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #23399C

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

Preview Lab → · Contrast checker → · Palette generator →

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