#23207F#23207F

#23207F is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.2% C 0.153 H 274.9°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#23207F
RGBrgb(35, 32, 127)
HSLhsl(242, 60%, 31%)
HSVhsv(242, 75%, 50%)
CMYKcmyk(72.4%, 74.8%, 0%, 50.2%)
CIE-LABlab(19.73, 33.83, -52.79)
CIE-LCHlch(19.73, 62.70, 302.65°)
OKLaboklab(32.24% 0.0132 -0.1526)
OKLCHoklch(32.24% 0.153 274.9)
XYZxyz(5.0391, 2.9222, 20.3730)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23207F #7C7F20
analogous
#204C7F #23207F #52207F
triadic
#23207F #7F2320 #207F23
tetradic
#23207F #7F204C #7C7F20 #207F52
square
#23207F #7F204C #7C7F20 #207F52
split-complementary
#23207F #7F5220 #4C7F20
monochromatic
#08071D #16144E #23207F #302CB0 #4D48D1

Accessibility & contrast

On white

13.25
#23207F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#23207F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23207F
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23207F#FFFFFF#000000##FFFFFF
##23207F1.0013.251.5813.25
#FFFFFF13.251.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003482
Deuteranopia (green-blind)
#002B7D
Tritanopia (blue-blind)
#003B4D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #23207f;
/* rgb */ color: rgb(35, 32, 127);
/* oklch */ color: oklch(32.2% 0.153 274.9);
Tailwind
colors: {
  custom: {
    50: '#6d5da5',
    500: '#23207f',
    950: '#000000',
  },
}
SCSS
$custom: #23207f;
$custom-light: #6d5da5;
$custom-dark: #000000;
JSON
{
  "hex": "#23207f",
  "rgb": {
    "r": 35,
    "g": 32,
    "b": 127
  },
  "hsl": {
    "h": 241.895,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.32241,
    "c": 0.15318,
    "h": 274.9
  },
  "luminance": 0.02923
}

Semantic roles & 50–950 ramp

primary
#23207F
secondary
#AFB249
accent
#E345DE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #23207F

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

Preview Lab → · Contrast checker → · Palette generator →

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