#23349E#23349E

#23349E is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.8% C 0.171 H 269.2°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#23349E
RGBrgb(35, 52, 158)
HSLhsl(232, 64%, 38%)
HSVhsv(232, 78%, 62%)
CMYKcmyk(77.8%, 67.1%, 0%, 38%)
CIE-LABlab(27.52, 32.36, -59.22)
CIE-LCHlch(27.52, 67.48, 298.65°)
OKLaboklab(38.81% -0.0024 -0.1714)
OKLCHoklch(38.81% 0.171 269.2)
XYZxyz(8.0906, 5.2810, 32.9341)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23349E #9E8D23
analogous
#23729E #23349E #4F239E
triadic
#23349E #9E2334 #349E23
tetradic
#23349E #9E2372 #9E8D23 #239E4F
square
#23349E #9E2372 #9E8D23 #239E4F
split-complementary
#23349E #9E4F23 #729E23
monochromatic
#0D133A #18246C #23349E #2E44D0 #6071DC

Accessibility & contrast

On white

10.21
#23349E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#23349E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23349E
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23349E#FFFFFF#000000##FFFFFF
##23349E1.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #23349e;
/* rgb */ color: rgb(35, 52, 158);
/* oklch */ color: oklch(38.8% 0.171 269.2);
Tailwind
colors: {
  custom: {
    50: '#736bbc',
    500: '#23349e',
    950: '#000000',
  },
}
SCSS
$custom: #23349e;
$custom-light: #736bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#23349e",
  "rgb": {
    "r": 35,
    "g": 52,
    "b": 158
  },
  "hsl": {
    "h": 231.707,
    "s": 63.731,
    "l": 37.843
  },
  "oklch": {
    "l": 0.38809,
    "c": 0.17139,
    "h": 269.2
  },
  "luminance": 0.05282
}

Semantic roles & 50–950 ramp

primary
#23349E
secondary
#C1B35C
accent
#D041E7
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #23349E

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

Preview Lab → · Contrast checker → · Palette generator →

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