#23267C#23267C

#23267C is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.9% C 0.142 H 273.9°. Best body text is #FFFFFF at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#23267C
RGBrgb(35, 38, 124)
HSLhsl(238, 56%, 31%)
HSVhsv(238, 72%, 49%)
CMYKcmyk(71.8%, 69.4%, 0%, 51.4%)
CIE-LABlab(20.82, 28.92, -49.09)
CIE-LCHlch(20.82, 56.98, 300.51°)
OKLaboklab(32.93% 0.0096 -0.1418)
OKLCHoklch(32.93% 0.142 273.9)
XYZxyz(5.0231, 3.1983, 19.4175)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23267C #7C7923
analogous
#23527C #23267C #4C237C
triadic
#23267C #7C2326 #267C23
tetradic
#23267C #7C2352 #7C7923 #237C4C
square
#23267C #7C2352 #7C7923 #237C4C
split-complementary
#23267C #7C4C23 #527C23
monochromatic
#08091D #16174C #23267C #3035AC #4D51CD

Accessibility & contrast

On white

12.81
#23267C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#23267C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23267C
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23267C#FFFFFF#000000##FFFFFF
##23267C1.0012.811.6412.81
#FFFFFF12.811.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367F
Deuteranopia (green-blind)
#002E7A
Tritanopia (blue-blind)
#003D4D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #23267c;
/* rgb */ color: rgb(35, 38, 124);
/* oklch */ color: oklch(32.9% 0.142 273.9);
Tailwind
colors: {
  custom: {
    50: '#6b60a3',
    500: '#23267c',
    950: '#000000',
  },
}
SCSS
$custom: #23267c;
$custom-light: #6b60a3;
$custom-dark: #000000;
JSON
{
  "hex": "#23267c",
  "rgb": {
    "r": 35,
    "g": 38,
    "b": 124
  },
  "hsl": {
    "h": 237.978,
    "s": 55.975,
    "l": 31.176
  },
  "oklch": {
    "l": 0.32934,
    "c": 0.14214,
    "h": 273.9
  },
  "luminance": 0.03199
}

Semantic roles & 50–950 ramp

primary
#23267C
secondary
#AFAB4C
accent
#DA49DF
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08050F
muted
#7A797F

Preview Lab

Preview with #23267C

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

Preview Lab → · Contrast checker → · Palette generator →

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