#23247F#23247F

#23247F is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.9% C 0.149 H 274.1°. Best body text is #FFFFFF at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#23247F
RGBrgb(35, 36, 127)
HSLhsl(239, 57%, 32%)
HSVhsv(239, 72%, 50%)
CMYKcmyk(72.4%, 71.7%, 0%, 50.2%)
CIE-LABlab(20.64, 31.32, -51.29)
CIE-LCHlch(20.64, 60.10, 301.41°)
OKLaboklab(32.89% 0.0106 -0.1483)
OKLCHoklch(32.89% 0.149 274.1)
XYZxyz(5.1535, 3.1509, 20.4111)
Luminance0.0315 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23247F #7F7E23
analogous
#23527F #23247F #50237F
triadic
#23247F #7F2324 #247F23
tetradic
#23247F #7F2352 #7F7E23 #237F50
square
#23247F #7F2352 #7F7E23 #237F50
split-complementary
#23247F #7F5023 #527F23
monochromatic
#09091F #16164F #23247F #3032AF #4E50CE

Accessibility & contrast

On white

12.88
#23247F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23247F
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23247F#FFFFFF#000000##FFFFFF
##23247F1.0012.881.6312.88
#FFFFFF12.881.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003682
Deuteranopia (green-blind)
#002D7D
Tritanopia (blue-blind)
#003D4E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #23247f;
/* rgb */ color: rgb(35, 36, 127);
/* oklch */ color: oklch(32.9% 0.149 274.1);
Tailwind
colors: {
  custom: {
    50: '#6c5fa5',
    500: '#23247f',
    950: '#000000',
  },
}
SCSS
$custom: #23247f;
$custom-light: #6c5fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#23247f",
  "rgb": {
    "r": 35,
    "g": 36,
    "b": 127
  },
  "hsl": {
    "h": 239.348,
    "s": 56.79,
    "l": 31.765
  },
  "oklch": {
    "l": 0.32892,
    "c": 0.14864,
    "h": 274.1
  },
  "luminance": 0.03151
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #23247F

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

Preview Lab → · Contrast checker → · Palette generator →

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