#23247A#23247A

#23247A is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.4% C 0.142 H 274.6°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#23247A
RGBrgb(35, 36, 122)
HSLhsl(239, 55%, 31%)
HSVhsv(239, 71%, 48%)
CMYKcmyk(71.3%, 70.5%, 0%, 52.2%)
CIE-LABlab(20.14, 29.50, -48.94)
CIE-LCHlch(20.14, 57.14, 301.08°)
OKLaboklab(32.38% 0.0113 -0.1414)
OKLCHoklch(32.38% 0.142 274.6)
XYZxyz(4.8357, 3.0238, 18.7374)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23247A #7A7923
analogous
#234F7A #23247A #4D237A
triadic
#23247A #7A2324 #247A23
tetradic
#23247A #7A234F #7A7923 #237A4D
square
#23247A #7A234F #7A7923 #237A4D
split-complementary
#23247A #7A4D23 #4F7A23
monochromatic
#08081B #15164A #23247A #3132AA #4C4DCC

Accessibility & contrast

On white

13.09
#23247A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#23247A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23247A
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23247A#FFFFFF#000000##FFFFFF
##23247A1.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357D
Deuteranopia (green-blind)
#002D78
Tritanopia (blue-blind)
#003B4C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #23247a;
/* rgb */ color: rgb(35, 36, 122);
/* oklch */ color: oklch(32.4% 0.142 274.6);
Tailwind
colors: {
  custom: {
    50: '#6b5fa1',
    500: '#23247a',
    950: '#000000',
  },
}
SCSS
$custom: #23247a;
$custom-light: #6b5fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#23247a",
  "rgb": {
    "r": 35,
    "g": 36,
    "b": 122
  },
  "hsl": {
    "h": 239.31,
    "s": 55.414,
    "l": 30.784
  },
  "oklch": {
    "l": 0.3238,
    "c": 0.14182,
    "h": 274.6
  },
  "luminance": 0.03024
}

Semantic roles & 50–950 ramp

primary
#23247A
secondary
#ADAC4C
accent
#DD49DF
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#08040F
muted
#7A797F

Preview Lab

Preview with #23247A

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

Preview Lab → · Contrast checker → · Palette generator →

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