#23247D#23247D

#23247D is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.7% C 0.146 H 274.3°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#23247D
RGBrgb(35, 36, 125)
HSLhsl(239, 56%, 31%)
HSVhsv(239, 72%, 49%)
CMYKcmyk(72%, 71.2%, 0%, 51%)
CIE-LABlab(20.44, 30.60, -50.36)
CIE-LCHlch(20.44, 58.92, 301.28°)
OKLaboklab(32.69% 0.0109 -0.1455)
OKLCHoklch(32.69% 0.146 274.3)
XYZxyz(5.0245, 3.0993, 19.7315)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23247D #7D7C23
analogous
#23517D #23247D #4F237D
triadic
#23247D #7D2324 #247D23
tetradic
#23247D #7D2351 #7D7C23 #237D4F
square
#23247D #7D2351 #7D7C23 #237D4F
split-complementary
#23247D #7D4F23 #517D23
monochromatic
#08081D #16164D #23247D #3032AD #4D4FCD

Accessibility & contrast

On white

12.96
#23247D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#23247D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23247D
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23247D#FFFFFF#000000##FFFFFF
##23247D1.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003580
Deuteranopia (green-blind)
#002D7B
Tritanopia (blue-blind)
#003C4D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #23247d;
/* rgb */ color: rgb(35, 36, 125);
/* oklch */ color: oklch(32.7% 0.146 274.3);
Tailwind
colors: {
  custom: {
    50: '#6c5fa4',
    500: '#23247d',
    950: '#000000',
  },
}
SCSS
$custom: #23247d;
$custom-light: #6c5fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#23247d",
  "rgb": {
    "r": 35,
    "g": 36,
    "b": 125
  },
  "hsl": {
    "h": 239.333,
    "s": 56.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.32686,
    "c": 0.14593,
    "h": 274.3
  },
  "luminance": 0.031
}

Semantic roles & 50–950 ramp

primary
#23247D
secondary
#AFAE4C
accent
#DE48E0
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08040F
muted
#7A797F

Preview Lab

Preview with #23247D

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

Preview Lab → · Contrast checker → · Palette generator →

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