#23349B#23349B

#23349B is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.5% C 0.167 H 269.3°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#23349B
RGBrgb(35, 52, 155)
HSLhsl(232, 63%, 37%)
HSVhsv(232, 77%, 61%)
CMYKcmyk(77.4%, 66.5%, 0%, 39.2%)
CIE-LABlab(27.24, 31.24, -57.85)
CIE-LCHlch(27.24, 65.75, 298.37°)
OKLaboklab(38.52% -0.0022 -0.1674)
OKLCHoklch(38.52% 0.167 269.3)
XYZxyz(7.8355, 5.1790, 31.5907)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23349B #9B8A23
analogous
#23709B #23349B #4E239B
triadic
#23349B #9B2334 #349B23
tetradic
#23349B #9B2370 #9B8A23 #239B4E
square
#23349B #9B2370 #9B8A23 #239B4E
split-complementary
#23349B #9B4E23 #709B23
monochromatic
#0C1337 #182369 #23349B #2E45CD #5E6FDB

Accessibility & contrast

On white

10.31
#23349B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23349B
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23349B#FFFFFF#000000##FFFFFF
##23349B1.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #23349b;
/* rgb */ color: rgb(35, 52, 155);
/* oklch */ color: oklch(38.5% 0.167 269.3);
Tailwind
colors: {
  custom: {
    50: '#726bb9',
    500: '#23349b',
    950: '#000000',
  },
}
SCSS
$custom: #23349b;
$custom-light: #726bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#23349b",
  "rgb": {
    "r": 35,
    "g": 52,
    "b": 155
  },
  "hsl": {
    "h": 231.5,
    "s": 63.158,
    "l": 37.255
  },
  "oklch": {
    "l": 0.38517,
    "c": 0.16739,
    "h": 269.3
  },
  "luminance": 0.0518
}

Semantic roles & 50–950 ramp

primary
#23349B
secondary
#BFB15A
accent
#CF42E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #23349B

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

Preview Lab → · Contrast checker → · Palette generator →

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