#23339C#23339C

#23339C is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.4% C 0.170 H 269.4°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#23339C
RGBrgb(35, 51, 156)
HSLhsl(232, 63%, 37%)
HSVhsv(232, 78%, 61%)
CMYKcmyk(77.6%, 67.3%, 0%, 38.8%)
CIE-LABlab(27.09, 32.27, -58.71)
CIE-LCHlch(27.09, 66.99, 298.79°)
OKLaboklab(38.43% -0.0017 -0.1699)
OKLCHoklch(38.43% 0.17 269.4)
XYZxyz(7.8757, 5.1244, 32.0201)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23339C #9C8C23
analogous
#23709C #23339C #4F239C
triadic
#23339C #9C2333 #339C23
tetradic
#23339C #9C2370 #9C8C23 #239C4F
square
#23339C #9C2370 #9C8C23 #239C4F
split-complementary
#23339C #9C4F23 #709C23
monochromatic
#0D1238 #18236A #23339C #2E43CE #5E6FDB

Accessibility & contrast

On white

10.37
#23339C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#23339C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23339C
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23339C#FFFFFF#000000##FFFFFF
##23339C1.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469F
Deuteranopia (green-blind)
#003A9A
Tritanopia (blue-blind)
#004F63
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #23339c;
/* rgb */ color: rgb(35, 51, 156);
/* oklch */ color: oklch(38.4% 0.170 269.4);
Tailwind
colors: {
  custom: {
    50: '#726bba',
    500: '#23339c',
    950: '#000000',
  },
}
SCSS
$custom: #23339c;
$custom-light: #726bba;
$custom-dark: #000000;
JSON
{
  "hex": "#23339c",
  "rgb": {
    "r": 35,
    "g": 51,
    "b": 156
  },
  "hsl": {
    "h": 232.066,
    "s": 63.351,
    "l": 37.451
  },
  "oklch": {
    "l": 0.38434,
    "c": 0.16991,
    "h": 269.4
  },
  "luminance": 0.05125
}

Semantic roles & 50–950 ramp

primary
#23339C
secondary
#C0B25B
accent
#D141E6
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #23339C

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

Preview Lab → · Contrast checker → · Palette generator →

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