#23207C#23207C

#23207C is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.9% C 0.149 H 275.3°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#23207C
RGBrgb(35, 32, 124)
HSLhsl(242, 59%, 31%)
HSVhsv(242, 74%, 49%)
CMYKcmyk(71.8%, 74.2%, 0%, 51.4%)
CIE-LABlab(19.41, 32.77, -51.40)
CIE-LCHlch(19.41, 60.96, 302.52°)
OKLaboklab(31.92% 0.0137 -0.1486)
OKLCHoklch(31.92% 0.149 275.3)
XYZxyz(4.8465, 2.8451, 19.3586)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23207C #797C20
analogous
#204B7C #23207C #51207C
triadic
#23207C #7C2320 #207C23
tetradic
#23207C #7C204B #797C20 #207C51
square
#23207C #7C204B #797C20 #207C51
split-complementary
#23207C #7C5120 #4B7C20
monochromatic
#08071B #15134B #23207C #312DAD #4B47CF

Accessibility & contrast

On white

13.38
#23207C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#23207C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23207C
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23207C#FFFFFF#000000##FFFFFF
##23207C1.0013.381.5713.38
#FFFFFF13.381.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337F
Deuteranopia (green-blind)
#002B7A
Tritanopia (blue-blind)
#003A4C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #23207c;
/* rgb */ color: rgb(35, 32, 124);
/* oklch */ color: oklch(31.9% 0.149 275.3);
Tailwind
colors: {
  custom: {
    50: '#6c5ca3',
    500: '#23207c',
    950: '#000000',
  },
}
SCSS
$custom: #23207c;
$custom-light: #6c5ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#23207c",
  "rgb": {
    "r": 35,
    "g": 32,
    "b": 124
  },
  "hsl": {
    "h": 241.957,
    "s": 58.974,
    "l": 30.588
  },
  "oklch": {
    "l": 0.31919,
    "c": 0.1492,
    "h": 275.3
  },
  "luminance": 0.02846
}

Semantic roles & 50–950 ramp

primary
#23207C
secondary
#ACAF49
accent
#E246DD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #23207C

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

Preview Lab → · Contrast checker → · Palette generator →

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