#23339B#23339B

#23339B is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.3% C 0.169 H 269.5°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#23339B
RGBrgb(35, 51, 155)
HSLhsl(232, 63%, 37%)
HSVhsv(232, 77%, 61%)
CMYKcmyk(77.4%, 67.1%, 0%, 39.2%)
CIE-LABlab(26.99, 31.89, -58.26)
CIE-LCHlch(26.99, 66.42, 298.70°)
OKLaboklab(38.34% -0.0016 -0.1686)
OKLCHoklch(38.34% 0.169 269.5)
XYZxyz(7.7913, 5.0907, 31.5760)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23339B #9B8B23
analogous
#236F9B #23339B #4F239B
triadic
#23339B #9B2333 #339B23
tetradic
#23339B #9B236F #9B8B23 #239B4F
square
#23339B #9B236F #9B8B23 #239B4F
split-complementary
#23339B #9B4F23 #6F9B23
monochromatic
#0C1237 #182369 #23339B #2E43CD #5E6EDB

Accessibility & contrast

On white

10.40
#23339B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#23339B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23339B
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23339B#FFFFFF#000000##FFFFFF
##23339B1.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469E
Deuteranopia (green-blind)
#003A99
Tritanopia (blue-blind)
#004F62
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #23339b;
/* rgb */ color: rgb(35, 51, 155);
/* oklch */ color: oklch(38.3% 0.169 269.5);
Tailwind
colors: {
  custom: {
    50: '#726ab9',
    500: '#23339b',
    950: '#000000',
  },
}
SCSS
$custom: #23339b;
$custom-light: #726ab9;
$custom-dark: #000000;
JSON
{
  "hex": "#23339b",
  "rgb": {
    "r": 35,
    "g": 51,
    "b": 155
  },
  "hsl": {
    "h": 232,
    "s": 63.158,
    "l": 37.255
  },
  "oklch": {
    "l": 0.38336,
    "c": 0.16858,
    "h": 269.5
  },
  "luminance": 0.05092
}

Semantic roles & 50–950 ramp

primary
#23339B
secondary
#BFB25A
accent
#D042E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #23339B

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

Preview Lab → · Contrast checker → · Palette generator →

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