#23307C#23307C

#23307C is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.8% C 0.129 H 270.7°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#23307C
RGBrgb(35, 48, 124)
HSLhsl(231, 56%, 31%)
HSVhsv(231, 72%, 49%)
CMYKcmyk(71.8%, 61.3%, 0%, 51.4%)
CIE-LABlab(23.42, 22.12, -44.83)
CIE-LCHlch(23.42, 50.00, 296.27°)
OKLaboklab(34.85% 0.0017 -0.1292)
OKLCHoklch(34.85% 0.129 270.7)
XYZxyz(5.3869, 3.9259, 19.5388)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23307C #7C6F23
analogous
#235C7C #23307C #42237C
triadic
#23307C #7C2330 #307C23
tetradic
#23307C #7C235C #7C6F23 #237C42
square
#23307C #7C235C #7C6F23 #237C42
split-complementary
#23307C #7C4223 #5C7C23
monochromatic
#080B1D #161E4C #23307C #3042AC #4D5FCD

Accessibility & contrast

On white

11.76
#23307C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#23307C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23307C
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23307C#FFFFFF#000000##FFFFFF
##23307C1.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7F
Deuteranopia (green-blind)
#00347B
Tritanopia (blue-blind)
#004351
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #23307c;
/* rgb */ color: rgb(35, 48, 124);
/* oklch */ color: oklch(34.8% 0.129 270.7);
Tailwind
colors: {
  custom: {
    50: '#6b68a3',
    500: '#23307c',
    950: '#000000',
  },
}
SCSS
$custom: #23307c;
$custom-light: #6b68a3;
$custom-dark: #000000;
JSON
{
  "hex": "#23307c",
  "rgb": {
    "r": 35,
    "g": 48,
    "b": 124
  },
  "hsl": {
    "h": 231.236,
    "s": 55.975,
    "l": 31.176
  },
  "oklch": {
    "l": 0.34847,
    "c": 0.12926,
    "h": 270.7
  },
  "luminance": 0.03926
}

Semantic roles & 50–950 ramp

primary
#23307C
secondary
#AFA04C
accent
#C949DF
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #23307C

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

Preview Lab → · Contrast checker → · Palette generator →

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