#23239D#23239D

#23239D is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.0% C 0.188 H 271.8°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#23239D
RGBrgb(35, 35, 157)
HSLhsl(240, 64%, 38%)
HSVhsv(240, 78%, 62%)
CMYKcmyk(77.7%, 77.7%, 0%, 38.4%)
CIE-LABlab(23.65, 42.39, -64.99)
CIE-LCHlch(23.65, 77.60, 303.12°)
OKLaboklab(36% 0.0059 -0.1881)
OKLCHoklch(36% 0.188 271.8)
XYZxyz(7.3779, 3.9929, 32.2736)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23239D #9D9D23
analogous
#23609D #23239D #60239D
triadic
#23239D #9D2323 #239D23
tetradic
#23239D #9D2360 #9D9D23 #239D60
square
#23239D #9D2360 #9D9D23 #239D60
split-complementary
#23239D #9D6023 #609D23
monochromatic
#0D0D39 #18186B #23239D #2E2ECF #5F5FDB

Accessibility & contrast

On white

11.67
#23239D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#23239D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23239D
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23239D#FFFFFF#000000##FFFFFF
##23239D1.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA0
Deuteranopia (green-blind)
#00329B
Tritanopia (blue-blind)
#00485F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #23239d;
/* rgb */ color: rgb(35, 35, 157);
/* oklch */ color: oklch(36.0% 0.188 271.8);
Tailwind
colors: {
  custom: {
    50: '#7460bb',
    500: '#23239d',
    950: '#000000',
  },
}
SCSS
$custom: #23239d;
$custom-light: #7460bb;
$custom-dark: #000000;
JSON
{
  "hex": "#23239d",
  "rgb": {
    "r": 35,
    "g": 35,
    "b": 157
  },
  "hsl": {
    "h": 240,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.35996,
    "c": 0.18823,
    "h": 271.8
  },
  "luminance": 0.03994
}

Semantic roles & 50–950 ramp

primary
#23239D
secondary
#C0C05C
accent
#E741E7
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #23239D

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

Preview Lab → · Contrast checker → · Palette generator →

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