#23307E#23307E

#23307E is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.0% C 0.132 H 270.7°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#23307E
RGBrgb(35, 48, 126)
HSLhsl(231, 57%, 32%)
HSVhsv(231, 72%, 49%)
CMYKcmyk(72.2%, 61.9%, 0%, 50.6%)
CIE-LABlab(23.60, 22.90, -45.82)
CIE-LCHlch(23.60, 51.22, 296.55°)
OKLaboklab(35.03% 0.0017 -0.1321)
OKLCHoklch(35.03% 0.132 270.7)
XYZxyz(5.5147, 3.9770, 20.2116)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23307E #7E7123
analogous
#235E7E #23307E #44237E
triadic
#23307E #7E2330 #307E23
tetradic
#23307E #7E235E #7E7123 #237E44
square
#23307E #7E235E #7E7123 #237E44
split-complementary
#23307E #7E4423 #5E7E23
monochromatic
#080C1E #161E4E #23307E #3042AE #4E60CE

Accessibility & contrast

On white

11.70
#23307E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#23307E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23307E
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23307E#FFFFFF#000000##FFFFFF
##23307E1.0011.701.8011.70
#FFFFFF11.701.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C81
Deuteranopia (green-blind)
#00347C
Tritanopia (blue-blind)
#004452
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #23307e;
/* rgb */ color: rgb(35, 48, 126);
/* oklch */ color: oklch(35.0% 0.132 270.7);
Tailwind
colors: {
  custom: {
    50: '#6b68a4',
    500: '#23307e',
    950: '#000000',
  },
}
SCSS
$custom: #23307e;
$custom-light: #6b68a4;
$custom-dark: #000000;
JSON
{
  "hex": "#23307e",
  "rgb": {
    "r": 35,
    "g": 48,
    "b": 126
  },
  "hsl": {
    "h": 231.429,
    "s": 56.522,
    "l": 31.569
  },
  "oklch": {
    "l": 0.35027,
    "c": 0.13216,
    "h": 270.7
  },
  "luminance": 0.03978
}

Semantic roles & 50–950 ramp

primary
#23307E
secondary
#B0A24C
accent
#CA48E0
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #23307E

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

Preview Lab → · Contrast checker → · Palette generator →

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