#23389E#23389E

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

Color values

HEX#23389E
RGBrgb(35, 56, 158)
HSLhsl(230, 64%, 38%)
HSVhsv(230, 78%, 62%)
CMYKcmyk(77.8%, 64.6%, 0%, 38%)
CIE-LABlab(28.52, 29.72, -57.58)
CIE-LCHlch(28.52, 64.80, 297.30°)
OKLaboklab(39.54% -0.0048 -0.1665)
OKLCHoklch(39.54% 0.167 268.4)
XYZxyz(8.2767, 5.6534, 32.9961)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23389E #9E8923
analogous
#23759E #23389E #4B239E
triadic
#23389E #9E2338 #389E23
tetradic
#23389E #9E2375 #9E8923 #239E4B
square
#23389E #9E2375 #9E8923 #239E4B
split-complementary
#23389E #9E4B23 #759E23
monochromatic
#0D143A #18266C #23389E #2E4AD0 #6075DC

Accessibility & contrast

On white

9.86
#23389E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#23389E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23389E
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23389E#FFFFFF#000000##FFFFFF
##23389E1.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)
#0049A1
Deuteranopia (green-blind)
#003E9C
Tritanopia (blue-blind)
#005365
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #23389e;
/* rgb */ color: rgb(35, 56, 158);
/* oklch */ color: oklch(39.5% 0.167 268.4);
Tailwind
colors: {
  custom: {
    50: '#726ebc',
    500: '#23389e',
    950: '#000000',
  },
}
SCSS
$custom: #23389e;
$custom-light: #726ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#23389e",
  "rgb": {
    "r": 35,
    "g": 56,
    "b": 158
  },
  "hsl": {
    "h": 229.756,
    "s": 63.731,
    "l": 37.843
  },
  "oklch": {
    "l": 0.39542,
    "c": 0.16661,
    "h": 268.4
  },
  "luminance": 0.05654
}

Semantic roles & 50–950 ramp

primary
#23389E
secondary
#C1AF5C
accent
#CA41E7
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #23389E

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

Preview Lab → · Contrast checker → · Palette generator →

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