#23339E#23339E

#23339E is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.6% C 0.173 H 269.4°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#23339E
RGBrgb(35, 51, 158)
HSLhsl(232, 64%, 38%)
HSVhsv(232, 78%, 62%)
CMYKcmyk(77.8%, 67.7%, 0%, 38%)
CIE-LABlab(27.28, 33.01, -59.62)
CIE-LCHlch(27.28, 68.15, 298.97°)
OKLaboklab(38.63% -0.0018 -0.1725)
OKLCHoklch(38.63% 0.173 269.4)
XYZxyz(8.0464, 5.1927, 32.9193)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23339E #9E8E23
analogous
#23709E #23339E #50239E
triadic
#23339E #9E2333 #339E23
tetradic
#23339E #9E2370 #9E8E23 #239E50
square
#23339E #9E2370 #9E8E23 #239E50
split-complementary
#23339E #9E5023 #709E23
monochromatic
#0D133A #18236C #23339E #2E43D0 #6070DC

Accessibility & contrast

On white

10.30
#23339E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#23339E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23339E
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23339E#FFFFFF#000000##FFFFFF
##23339E1.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A1
Deuteranopia (green-blind)
#003B9C
Tritanopia (blue-blind)
#005064
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #23339e;
/* rgb */ color: rgb(35, 51, 158);
/* oklch */ color: oklch(38.6% 0.173 269.4);
Tailwind
colors: {
  custom: {
    50: '#736bbc',
    500: '#23339e',
    950: '#000000',
  },
}
SCSS
$custom: #23339e;
$custom-light: #736bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#23339e",
  "rgb": {
    "r": 35,
    "g": 51,
    "b": 158
  },
  "hsl": {
    "h": 232.195,
    "s": 63.731,
    "l": 37.843
  },
  "oklch": {
    "l": 0.38631,
    "c": 0.17255,
    "h": 269.4
  },
  "luminance": 0.05194
}

Semantic roles & 50–950 ramp

primary
#23339E
secondary
#C1B45C
accent
#D141E7
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #23339E

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

Preview Lab → · Contrast checker → · Palette generator →

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