#23338A#23338A

#23338A is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.7% C 0.145 H 269.7°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#23338A
RGBrgb(35, 51, 138)
HSLhsl(231, 60%, 34%)
HSVhsv(231, 75%, 54%)
CMYKcmyk(74.6%, 63%, 0%, 45.9%)
CIE-LABlab(25.44, 25.46, -50.33)
CIE-LCHlch(25.44, 56.40, 296.83°)
OKLaboklab(36.72% -0.0008 -0.1453)
OKLCHoklch(36.72% 0.145 269.7)
XYZxyz(6.4628, 4.5593, 24.5793)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23338A #8A7A23
analogous
#23678A #23338A #47238A
triadic
#23338A #8A2333 #338A23
tetradic
#23338A #8A2367 #8A7A23 #238A47
square
#23338A #8A2367 #8A7A23 #238A47
split-complementary
#23338A #8A4723 #678A23
monochromatic
#0A0F28 #172159 #23338A #2F45BB #5468D4

Accessibility & contrast

On white

10.98
#23338A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#23338A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23338A
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23338A#FFFFFF#000000##FFFFFF
##23338A1.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418D
Deuteranopia (green-blind)
#003888
Tritanopia (blue-blind)
#004959
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #23338a;
/* rgb */ color: rgb(35, 51, 138);
/* oklch */ color: oklch(36.7% 0.145 269.7);
Tailwind
colors: {
  custom: {
    50: '#6e6aad',
    500: '#23338a',
    950: '#000000',
  },
}
SCSS
$custom: #23338a;
$custom-light: #6e6aad;
$custom-dark: #000000;
JSON
{
  "hex": "#23338a",
  "rgb": {
    "r": 35,
    "g": 51,
    "b": 138
  },
  "hsl": {
    "h": 230.68,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.36718,
    "c": 0.14534,
    "h": 269.7
  },
  "luminance": 0.0456
}

Semantic roles & 50–950 ramp

primary
#23338A
secondary
#B7A851
accent
#CA45E3
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #23338A

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

Preview Lab → · Contrast checker → · Palette generator →

#23338A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva