#23279C#23279C

#23279C is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.5% C 0.183 H 271.4°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#23279C
RGBrgb(35, 39, 156)
HSLhsl(238, 63%, 37%)
HSVhsv(238, 78%, 61%)
CMYKcmyk(77.6%, 75%, 0%, 38.8%)
CIE-LABlab(24.35, 39.76, -63.22)
CIE-LCHlch(24.35, 74.69, 302.16°)
OKLaboklab(36.46% 0.0044 -0.183)
OKLCHoklch(36.46% 0.183 271.4)
XYZxyz(7.4174, 4.2079, 31.8673)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23279C #9C9823
analogous
#23639C #23279C #5C239C
triadic
#23279C #9C2327 #279C23
tetradic
#23279C #9C2363 #9C9823 #239C5C
square
#23279C #9C2363 #9C9823 #239C5C
split-complementary
#23279C #9C5C23 #639C23
monochromatic
#0D0E38 #181B6A #23279C #2E33CE #5E63DB

Accessibility & contrast

On white

11.40
#23279C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#23279C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23279C
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23279C#FFFFFF#000000##FFFFFF
##23279C1.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409F
Deuteranopia (green-blind)
#00349A
Tritanopia (blue-blind)
#00495F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #23279c;
/* rgb */ color: rgb(35, 39, 156);
/* oklch */ color: oklch(36.5% 0.183 271.4);
Tailwind
colors: {
  custom: {
    50: '#7362ba',
    500: '#23279c',
    950: '#000000',
  },
}
SCSS
$custom: #23279c;
$custom-light: #7362ba;
$custom-dark: #000000;
JSON
{
  "hex": "#23279c",
  "rgb": {
    "r": 35,
    "g": 39,
    "b": 156
  },
  "hsl": {
    "h": 238.017,
    "s": 63.351,
    "l": 37.451
  },
  "oklch": {
    "l": 0.36459,
    "c": 0.18309,
    "h": 271.4
  },
  "luminance": 0.04209
}

Semantic roles & 50–950 ramp

primary
#23279C
secondary
#C0BC5B
accent
#E141E6
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #23279C

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

Preview Lab → · Contrast checker → · Palette generator →

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