#23207E#23207E

#23207E is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.1% C 0.152 H 275.1°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#23207E
RGBrgb(35, 32, 126)
HSLhsl(242, 59%, 31%)
HSVhsv(242, 75%, 49%)
CMYKcmyk(72.2%, 74.6%, 0%, 50.6%)
CIE-LABlab(19.62, 33.48, -52.33)
CIE-LCHlch(19.62, 62.12, 302.61°)
OKLaboklab(32.13% 0.0134 -0.1513)
OKLCHoklch(32.13% 0.152 275.1)
XYZxyz(4.9743, 2.8962, 20.0315)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23207E #7B7E20
analogous
#204C7E #23207E #52207E
triadic
#23207E #7E2320 #207E23
tetradic
#23207E #7E204C #7B7E20 #207E52
square
#23207E #7E204C #7B7E20 #207E52
split-complementary
#23207E #7E5220 #4C7E20
monochromatic
#08071C #15144D #23207E #312CAF #4C48D0

Accessibility & contrast

On white

13.30
#23207E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23207E
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23207E#FFFFFF#000000##FFFFFF
##23207E1.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003481
Deuteranopia (green-blind)
#002B7C
Tritanopia (blue-blind)
#003A4D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #23207e;
/* rgb */ color: rgb(35, 32, 126);
/* oklch */ color: oklch(32.1% 0.152 275.1);
Tailwind
colors: {
  custom: {
    50: '#6d5ca4',
    500: '#23207e',
    950: '#000000',
  },
}
SCSS
$custom: #23207e;
$custom-light: #6d5ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#23207e",
  "rgb": {
    "r": 35,
    "g": 32,
    "b": 126
  },
  "hsl": {
    "h": 241.915,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.32133,
    "c": 0.15186,
    "h": 275.1
  },
  "luminance": 0.02897
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #23207E

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

Preview Lab → · Contrast checker → · Palette generator →

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