#23267A#23267A

#23267A is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.7% C 0.139 H 274.0°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#23267A
RGBrgb(35, 38, 122)
HSLhsl(238, 55%, 31%)
HSVhsv(238, 71%, 48%)
CMYKcmyk(71.3%, 68.9%, 0%, 52.2%)
CIE-LABlab(20.63, 28.18, -48.13)
CIE-LCHlch(20.63, 55.78, 300.35°)
OKLaboklab(32.73% 0.0098 -0.139)
OKLCHoklch(32.73% 0.139 274)
XYZxyz(4.8979, 3.1482, 18.7581)
Luminance0.0315 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23267A #7A7723
analogous
#23517A #23267A #4B237A
triadic
#23267A #7A2326 #267A23
tetradic
#23267A #7A2351 #7A7723 #237A4B
square
#23267A #7A2351 #7A7723 #237A4B
split-complementary
#23267A #7A4B23 #517A23
monochromatic
#08081B #15174A #23267A #3135AA #4C50CC

Accessibility & contrast

On white

12.89
#23267A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#23267A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23267A
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23267A#FFFFFF#000000##FFFFFF
##23267A1.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367D
Deuteranopia (green-blind)
#002E78
Tritanopia (blue-blind)
#003C4C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #23267a;
/* rgb */ color: rgb(35, 38, 122);
/* oklch */ color: oklch(32.7% 0.139 274.0);
Tailwind
colors: {
  custom: {
    50: '#6b60a1',
    500: '#23267a',
    950: '#000000',
  },
}
SCSS
$custom: #23267a;
$custom-light: #6b60a1;
$custom-dark: #000000;
JSON
{
  "hex": "#23267a",
  "rgb": {
    "r": 35,
    "g": 38,
    "b": 122
  },
  "hsl": {
    "h": 237.931,
    "s": 55.414,
    "l": 30.784
  },
  "oklch": {
    "l": 0.32734,
    "c": 0.13936,
    "h": 274
  },
  "luminance": 0.03149
}

Semantic roles & 50–950 ramp

primary
#23267A
secondary
#ADA94C
accent
#DA49DF
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07050F
muted
#7A797F

Preview Lab

Preview with #23267A

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

Preview Lab → · Contrast checker → · Palette generator →

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