#23279E#23279E

#23279E is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.7% C 0.186 H 271.3°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#23279E
RGBrgb(35, 39, 158)
HSLhsl(238, 64%, 38%)
HSVhsv(238, 78%, 62%)
CMYKcmyk(77.8%, 75.3%, 0%, 38%)
CIE-LABlab(24.56, 40.45, -64.09)
CIE-LCHlch(24.56, 75.78, 302.26°)
OKLaboklab(36.68% 0.0041 -0.1855)
OKLCHoklch(36.68% 0.186 271.3)
XYZxyz(7.5881, 4.2762, 32.7666)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23279E #9E9A23
analogous
#23649E #23279E #5D239E
triadic
#23279E #9E2327 #279E23
tetradic
#23279E #9E2364 #9E9A23 #239E5D
square
#23279E #9E2364 #9E9A23 #239E5D
split-complementary
#23279E #9E5D23 #649E23
monochromatic
#0D0E3A #181B6C #23279E #2E33D0 #6064DC

Accessibility & contrast

On white

11.32
#23279E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#23279E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23279E
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23279E#FFFFFF#000000##FFFFFF
##23279E1.0011.321.8611.32
#FFFFFF11.321.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A1
Deuteranopia (green-blind)
#00349C
Tritanopia (blue-blind)
#004A60
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #23279e;
/* rgb */ color: rgb(35, 39, 158);
/* oklch */ color: oklch(36.7% 0.186 271.3);
Tailwind
colors: {
  custom: {
    50: '#7463bc',
    500: '#23279e',
    950: '#000000',
  },
}
SCSS
$custom: #23279e;
$custom-light: #7463bc;
$custom-dark: #000000;
JSON
{
  "hex": "#23279e",
  "rgb": {
    "r": 35,
    "g": 39,
    "b": 158
  },
  "hsl": {
    "h": 238.049,
    "s": 63.731,
    "l": 37.843
  },
  "oklch": {
    "l": 0.36677,
    "c": 0.18559,
    "h": 271.3
  },
  "luminance": 0.04277
}

Semantic roles & 50–950 ramp

primary
#23279E
secondary
#C1BD5C
accent
#E141E7
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #23279E

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

Preview Lab → · Contrast checker → · Palette generator →

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