#23389C#23389C

#23389C is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.4% C 0.164 H 268.4°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#23389C
RGBrgb(35, 56, 156)
HSLhsl(230, 63%, 37%)
HSVhsv(230, 78%, 61%)
CMYKcmyk(77.6%, 64.1%, 0%, 38.8%)
CIE-LABlab(28.34, 28.96, -56.66)
CIE-LCHlch(28.34, 63.63, 297.08°)
OKLaboklab(39.35% -0.0047 -0.1638)
OKLCHoklch(39.35% 0.164 268.4)
XYZxyz(8.1060, 5.5851, 32.0969)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23389C #9C8723
analogous
#23749C #23389C #4B239C
triadic
#23389C #9C2338 #389C23
tetradic
#23389C #9C2374 #9C8723 #239C4B
square
#23389C #9C2374 #9C8723 #239C4B
split-complementary
#23389C #9C4B23 #749C23
monochromatic
#0D1438 #18266A #23389C #2E4ACE #5E74DB

Accessibility & contrast

On white

9.92
#23389C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#23389C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23389C
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23389C#FFFFFF#000000##FFFFFF
##23389C1.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #23389c;
/* rgb */ color: rgb(35, 56, 156);
/* oklch */ color: oklch(39.4% 0.164 268.4);
Tailwind
colors: {
  custom: {
    50: '#726eba',
    500: '#23389c',
    950: '#000000',
  },
}
SCSS
$custom: #23389c;
$custom-light: #726eba;
$custom-dark: #000000;
JSON
{
  "hex": "#23389c",
  "rgb": {
    "r": 35,
    "g": 56,
    "b": 156
  },
  "hsl": {
    "h": 229.587,
    "s": 63.351,
    "l": 37.451
  },
  "oklch": {
    "l": 0.39354,
    "c": 0.16391,
    "h": 268.4
  },
  "luminance": 0.05586
}

Semantic roles & 50–950 ramp

primary
#23389C
secondary
#C0AE5B
accent
#CA41E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #23389C

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

Preview Lab → · Contrast checker → · Palette generator →

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