#23237A#23237A

#23237A is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.2% C 0.143 H 274.8°. Best body text is #FFFFFF at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#23237A
RGBrgb(35, 35, 122)
HSLhsl(240, 55%, 31%)
HSVhsv(240, 71%, 48%)
CMYKcmyk(71.3%, 71.3%, 0%, 52.2%)
CIE-LABlab(19.90, 30.15, -49.33)
CIE-LCHlch(19.90, 57.81, 301.43°)
OKLaboklab(32.21% 0.012 -0.1425)
OKLCHoklch(32.21% 0.143 274.8)
XYZxyz(4.8059, 2.9641, 18.7274)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23237A #7A7A23
analogous
#234E7A #23237A #4E237A
triadic
#23237A #7A2323 #237A23
tetradic
#23237A #7A234E #7A7A23 #237A4E
square
#23237A #7A234E #7A7A23 #237A4E
split-complementary
#23237A #7A4E23 #4E7A23
monochromatic
#08081B #15154A #23237A #3131AA #4C4CCC

Accessibility & contrast

On white

13.18
#23237A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#23237A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23237A
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23237A#FFFFFF#000000##FFFFFF
##23237A1.0013.181.5913.18
#FFFFFF13.181.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347D
Deuteranopia (green-blind)
#002C78
Tritanopia (blue-blind)
#003B4B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #23237a;
/* rgb */ color: rgb(35, 35, 122);
/* oklch */ color: oklch(32.2% 0.143 274.8);
Tailwind
colors: {
  custom: {
    50: '#6b5ea1',
    500: '#23237a',
    950: '#000000',
  },
}
SCSS
$custom: #23237a;
$custom-light: #6b5ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#23237a",
  "rgb": {
    "r": 35,
    "g": 35,
    "b": 122
  },
  "hsl": {
    "h": 240,
    "s": 55.414,
    "l": 30.784
  },
  "oklch": {
    "l": 0.32207,
    "c": 0.14303,
    "h": 274.8
  },
  "luminance": 0.02965
}

Semantic roles & 50–950 ramp

primary
#23237A
secondary
#ADAD4C
accent
#DF49DF
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#08040F
muted
#7A797F

Preview Lab

Preview with #23237A

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

Preview Lab → · Contrast checker → · Palette generator →

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