#23279A#23279A

#23279A is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.2% C 0.181 H 271.5°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#23279A
RGBrgb(35, 39, 154)
HSLhsl(238, 63%, 37%)
HSVhsv(238, 77%, 60%)
CMYKcmyk(77.3%, 74.7%, 0%, 39.6%)
CIE-LABlab(24.13, 39.06, -62.36)
CIE-LCHlch(24.13, 73.58, 302.07°)
OKLaboklab(36.24% 0.0048 -0.1805)
OKLCHoklch(36.24% 0.181 271.5)
XYZxyz(7.2494, 4.1407, 30.9828)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23279A #9A9623
analogous
#23639A #23279A #5B239A
triadic
#23279A #9A2327 #279A23
tetradic
#23279A #9A2363 #9A9623 #239A5B
square
#23279A #9A2363 #9A9623 #239A5B
split-complementary
#23279A #9A5B23 #639A23
monochromatic
#0C0E36 #181A68 #23279A #2E34CC #5D61DA

Accessibility & contrast

On white

11.49
#23279A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#23279A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23279A
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23279A#FFFFFF#000000##FFFFFF
##23279A1.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9D
Deuteranopia (green-blind)
#003398
Tritanopia (blue-blind)
#00485E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #23279a;
/* rgb */ color: rgb(35, 39, 154);
/* oklch */ color: oklch(36.2% 0.181 271.5);
Tailwind
colors: {
  custom: {
    50: '#7362b9',
    500: '#23279a',
    950: '#000000',
  },
}
SCSS
$custom: #23279a;
$custom-light: #7362b9;
$custom-dark: #000000;
JSON
{
  "hex": "#23279a",
  "rgb": {
    "r": 35,
    "g": 39,
    "b": 154
  },
  "hsl": {
    "h": 237.983,
    "s": 62.963,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36241,
    "c": 0.18058,
    "h": 271.5
  },
  "luminance": 0.04141
}

Semantic roles & 50–950 ramp

primary
#23279A
secondary
#BFBC5A
accent
#E042E6
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090512
muted
#7B7981

Preview Lab

Preview with #23279A

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

Preview Lab → · Contrast checker → · Palette generator →

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