#23349C#23349C

#23349C is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.6% C 0.169 H 269.2°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#23349C
RGBrgb(35, 52, 156)
HSLhsl(232, 63%, 37%)
HSVhsv(232, 78%, 61%)
CMYKcmyk(77.6%, 66.7%, 0%, 38.8%)
CIE-LABlab(27.33, 31.61, -58.31)
CIE-LCHlch(27.33, 66.33, 298.46°)
OKLaboklab(38.61% -0.0022 -0.1687)
OKLCHoklch(38.61% 0.169 269.2)
XYZxyz(7.9198, 5.2127, 32.0348)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23349C #9C8B23
analogous
#23719C #23349C #4E239C
triadic
#23349C #9C2334 #349C23
tetradic
#23349C #9C2371 #9C8B23 #239C4E
square
#23349C #9C2371 #9C8B23 #239C4E
split-complementary
#23349C #9C4E23 #719C23
monochromatic
#0D1338 #18236A #23349C #2E45CE #5E70DB

Accessibility & contrast

On white

10.28
#23349C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#23349C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23349C
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23349C#FFFFFF#000000##FFFFFF
##23349C1.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469F
Deuteranopia (green-blind)
#003B9A
Tritanopia (blue-blind)
#005063
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #23349c;
/* rgb */ color: rgb(35, 52, 156);
/* oklch */ color: oklch(38.6% 0.169 269.2);
Tailwind
colors: {
  custom: {
    50: '#726bba',
    500: '#23349c',
    950: '#000000',
  },
}
SCSS
$custom: #23349c;
$custom-light: #726bba;
$custom-dark: #000000;
JSON
{
  "hex": "#23349c",
  "rgb": {
    "r": 35,
    "g": 52,
    "b": 156
  },
  "hsl": {
    "h": 231.57,
    "s": 63.351,
    "l": 37.451
  },
  "oklch": {
    "l": 0.38614,
    "c": 0.16873,
    "h": 269.2
  },
  "luminance": 0.05214
}

Semantic roles & 50–950 ramp

primary
#23349C
secondary
#C0B25B
accent
#CF41E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #23349C

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

Preview Lab → · Contrast checker → · Palette generator →

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