#23247E#23247E

#23247E is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.8% C 0.147 H 274.2°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#23247E
RGBrgb(35, 36, 126)
HSLhsl(239, 57%, 32%)
HSVhsv(239, 72%, 49%)
CMYKcmyk(72.2%, 71.4%, 0%, 50.6%)
CIE-LABlab(20.54, 30.96, -50.83)
CIE-LCHlch(20.54, 59.51, 301.35°)
OKLaboklab(32.79% 0.0108 -0.1469)
OKLCHoklch(32.79% 0.147 274.2)
XYZxyz(5.0887, 3.1250, 20.0696)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23247E #7E7D23
analogous
#23527E #23247E #50237E
triadic
#23247E #7E2324 #247E23
tetradic
#23247E #7E2352 #7E7D23 #237E50
square
#23247E #7E2352 #7E7D23 #237E50
split-complementary
#23247E #7E5023 #527E23
monochromatic
#08091E #16164E #23247E #3032AE #4E4FCE

Accessibility & contrast

On white

12.92
#23247E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#23247E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23247E
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23247E#FFFFFF#000000##FFFFFF
##23247E1.0012.921.6312.92
#FFFFFF12.921.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003681
Deuteranopia (green-blind)
#002D7C
Tritanopia (blue-blind)
#003C4E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #23247e;
/* rgb */ color: rgb(35, 36, 126);
/* oklch */ color: oklch(32.8% 0.147 274.2);
Tailwind
colors: {
  custom: {
    50: '#6c5fa4',
    500: '#23247e',
    950: '#000000',
  },
}
SCSS
$custom: #23247e;
$custom-light: #6c5fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#23247e",
  "rgb": {
    "r": 35,
    "g": 36,
    "b": 126
  },
  "hsl": {
    "h": 239.341,
    "s": 56.522,
    "l": 31.569
  },
  "oklch": {
    "l": 0.32789,
    "c": 0.14728,
    "h": 274.2
  },
  "luminance": 0.03125
}

Semantic roles & 50–950 ramp

primary
#23247E
secondary
#B0AF4C
accent
#DE48E0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #23247E

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

Preview Lab → · Contrast checker → · Palette generator →

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