#23147A#23147A

#23147A is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.0% C 0.159 H 277.6°. Best body text is #FFFFFF at 14.46:1 contrast (WCAG AA passes).

Color values

HEX#23147A
RGBrgb(35, 20, 122)
HSLhsl(249, 72%, 28%)
HSVhsv(249, 84%, 48%)
CMYKcmyk(71.3%, 83.6%, 0%, 52.2%)
CIE-LABlab(16.81, 38.86, -54.43)
CIE-LCHlch(16.81, 66.88, 305.53°)
OKLaboklab(30.02% 0.0209 -0.1572)
OKLCHoklch(30.02% 0.159 277.6)
XYZxyz(4.4550, 2.2624, 18.6105)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23147A #6B7A14
analogous
#14387A #23147A #56147A
triadic
#23147A #7A2314 #147A23
tetradic
#23147A #7A1438 #6B7A14 #147A56
square
#23147A #7A1438 #6B7A14 #147A56
split-complementary
#23147A #7A5614 #387A14
monochromatic
#08041A #140B45 #23147A #321DAF #462CDC

Accessibility & contrast

On white

14.46
#23147A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#23147A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23147A
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23147A#FFFFFF#000000##FFFFFF
##23147A1.0014.461.4514.46
#FFFFFF14.461.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D7D
Deuteranopia (green-blind)
#002578
Tritanopia (blue-blind)
#003448
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #23147a;
/* rgb */ color: rgb(35, 20, 122);
/* oklch */ color: oklch(30.0% 0.159 277.6);
Tailwind
colors: {
  custom: {
    50: '#6d55a2',
    500: '#23147a',
    950: '#000000',
  },
}
SCSS
$custom: #23147a;
$custom-light: #6d55a2;
$custom-dark: #000000;
JSON
{
  "hex": "#23147a",
  "rgb": {
    "r": 35,
    "g": 20,
    "b": 122
  },
  "hsl": {
    "h": 248.824,
    "s": 71.831,
    "l": 27.843
  },
  "oklch": {
    "l": 0.30019,
    "c": 0.15863,
    "h": 277.6
  },
  "luminance": 0.02263
}

Semantic roles & 50–950 ramp

primary
#23147A
secondary
#9EB03A
accent
#EF39D4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #23147A

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

Preview Lab → · Contrast checker → · Palette generator →

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