#23279B#23279B

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

Color values

HEX#23279B
RGBrgb(35, 39, 155)
HSLhsl(238, 63%, 37%)
HSVhsv(238, 77%, 61%)
CMYKcmyk(77.4%, 74.8%, 0%, 39.2%)
CIE-LABlab(24.24, 39.41, -62.79)
CIE-LCHlch(24.24, 74.13, 302.12°)
OKLaboklab(36.35% 0.0046 -0.1818)
OKLCHoklch(36.35% 0.182 271.4)
XYZxyz(7.3330, 4.1741, 31.4232)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23279B #9B9723
analogous
#23639B #23279B #5B239B
triadic
#23279B #9B2327 #279B23
tetradic
#23279B #9B2363 #9B9723 #239B5B
square
#23279B #9B2363 #9B9723 #239B5B
split-complementary
#23279B #9B5B23 #639B23
monochromatic
#0C0E37 #181A69 #23279B #2E34CD #5E62DB

Accessibility & contrast

On white

11.44
#23279B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23279B
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23279B#FFFFFF#000000##FFFFFF
##23279B1.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9E
Deuteranopia (green-blind)
#003499
Tritanopia (blue-blind)
#00495F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #23279b;
/* rgb */ color: rgb(35, 39, 155);
/* oklch */ color: oklch(36.4% 0.182 271.4);
Tailwind
colors: {
  custom: {
    50: '#7362ba',
    500: '#23279b',
    950: '#000000',
  },
}
SCSS
$custom: #23279b;
$custom-light: #7362ba;
$custom-dark: #000000;
JSON
{
  "hex": "#23279b",
  "rgb": {
    "r": 35,
    "g": 39,
    "b": 155
  },
  "hsl": {
    "h": 238,
    "s": 63.158,
    "l": 37.255
  },
  "oklch": {
    "l": 0.3635,
    "c": 0.18184,
    "h": 271.4
  },
  "luminance": 0.04175
}

Semantic roles & 50–950 ramp

primary
#23279B
secondary
#BFBC5A
accent
#E142E6
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #23279B

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

Preview Lab → · Contrast checker → · Palette generator →

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