#23399B#23399B

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

Color values

HEX#23399B
RGBrgb(35, 57, 155)
HSLhsl(229, 63%, 37%)
HSVhsv(229, 77%, 61%)
CMYKcmyk(77.4%, 63.2%, 0%, 39.2%)
CIE-LABlab(28.51, 27.91, -55.77)
CIE-LCHlch(28.51, 62.37, 296.59°)
OKLaboklab(39.45% -0.0053 -0.1612)
OKLCHoklch(39.45% 0.161 268.1)
XYZxyz(8.0706, 5.6492, 31.6691)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23399B #9B8523
analogous
#23759B #23399B #49239B
triadic
#23399B #9B2339 #399B23
tetradic
#23399B #9B2375 #9B8523 #239B49
square
#23399B #9B2375 #9B8523 #239B49
split-complementary
#23399B #9B4923 #759B23
monochromatic
#0C1437 #182769 #23399B #2E4BCD #5E75DB

Accessibility & contrast

On white

9.86
#23399B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#23399B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23399B
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23399B#FFFFFF#000000##FFFFFF
##23399B1.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499E
Deuteranopia (green-blind)
#003E99
Tritanopia (blue-blind)
#005264
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #23399b;
/* rgb */ color: rgb(35, 57, 155);
/* oklch */ color: oklch(39.5% 0.161 268.1);
Tailwind
colors: {
  custom: {
    50: '#716fb9',
    500: '#23399b',
    950: '#000000',
  },
}
SCSS
$custom: #23399b;
$custom-light: #716fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#23399b",
  "rgb": {
    "r": 35,
    "g": 57,
    "b": 155
  },
  "hsl": {
    "h": 229,
    "s": 63.158,
    "l": 37.255
  },
  "oklch": {
    "l": 0.39452,
    "c": 0.16133,
    "h": 268.1
  },
  "luminance": 0.0565
}

Semantic roles & 50–950 ramp

primary
#23399B
secondary
#BFAD5A
accent
#C842E6
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #23399B

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

Preview Lab → · Contrast checker → · Palette generator →

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