#23307A#23307A

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

Color values

HEX#23307A
RGBrgb(35, 48, 122)
HSLhsl(231, 55%, 31%)
HSVhsv(231, 71%, 48%)
CMYKcmyk(71.3%, 60.7%, 0%, 52.2%)
CIE-LABlab(23.26, 21.35, -43.84)
CIE-LCHlch(23.26, 48.76, 295.97°)
OKLaboklab(34.67% 0.0016 -0.1263)
OKLCHoklch(34.67% 0.126 270.7)
XYZxyz(5.2617, 3.8759, 18.8794)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23307A #7A6D23
analogous
#235B7A #23307A #41237A
triadic
#23307A #7A2330 #307A23
tetradic
#23307A #7A235B #7A6D23 #237A41
square
#23307A #7A235B #7A6D23 #237A41
split-complementary
#23307A #7A4123 #5B7A23
monochromatic
#080B1B #151D4A #23307A #3143AA #4C5FCC

Accessibility & contrast

On white

11.83
#23307A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#23307A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23307A
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23307A#FFFFFF#000000##FFFFFF
##23307A1.0011.831.7811.83
#FFFFFF11.831.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7C
Deuteranopia (green-blind)
#003479
Tritanopia (blue-blind)
#004250
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #23307a;
/* rgb */ color: rgb(35, 48, 122);
/* oklch */ color: oklch(34.7% 0.126 270.7);
Tailwind
colors: {
  custom: {
    50: '#6a68a1',
    500: '#23307a',
    950: '#000000',
  },
}
SCSS
$custom: #23307a;
$custom-light: #6a68a1;
$custom-dark: #000000;
JSON
{
  "hex": "#23307a",
  "rgb": {
    "r": 35,
    "g": 48,
    "b": 122
  },
  "hsl": {
    "h": 231.034,
    "s": 55.414,
    "l": 30.784
  },
  "oklch": {
    "l": 0.34669,
    "c": 0.12634,
    "h": 270.7
  },
  "luminance": 0.03876
}

Semantic roles & 50–950 ramp

primary
#23307A
secondary
#AD9E4C
accent
#C849DF
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #23307A

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

Preview Lab → · Contrast checker → · Palette generator →

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