#23276C#23276C

#23276C is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.6% C 0.118 H 274.9°. Best body text is #FFFFFF at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#23276C
RGBrgb(35, 39, 108)
HSLhsl(237, 51%, 28%)
HSVhsv(237, 68%, 42%)
CMYKcmyk(67.6%, 63.9%, 0%, 57.6%)
CIE-LABlab(19.60, 22.25, -40.81)
CIE-LCHlch(19.60, 46.48, 298.60°)
OKLaboklab(31.58% 0.01 -0.1175)
OKLCHoklch(31.58% 0.118 274.9)
XYZxyz(4.1245, 2.8907, 14.5251)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23276C #6C6823
analogous
#234B6C #23276C #43236C
triadic
#23276C #6C2327 #276C23
tetradic
#23276C #6C234B #6C6823 #236C43
square
#23276C #6C234B #6C6823 #236C43
split-complementary
#23276C #6C4323 #4B6C23
monochromatic
#070817 #14163E #23276C #32389A #464DC3

Accessibility & contrast

On white

13.31
#23276C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#23276C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23276C
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23276C#FFFFFF#000000##FFFFFF
##23276C1.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336E
Deuteranopia (green-blind)
#002C6B
Tritanopia (blue-blind)
#003845
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #23276c;
/* rgb */ color: rgb(35, 39, 108);
/* oklch */ color: oklch(31.6% 0.118 274.9);
Tailwind
colors: {
  custom: {
    50: '#686197',
    500: '#23276c',
    950: '#000000',
  },
}
SCSS
$custom: #23276c;
$custom-light: #686197;
$custom-dark: #000000;
JSON
{
  "hex": "#23276c",
  "rgb": {
    "r": 35,
    "g": 39,
    "b": 108
  },
  "hsl": {
    "h": 236.712,
    "s": 51.049,
    "l": 28.039
  },
  "oklch": {
    "l": 0.31584,
    "c": 0.11795,
    "h": 274.9
  },
  "luminance": 0.02891
}

Semantic roles & 50–950 ramp

primary
#23276C
secondary
#9F9B4B
accent
#D34DDB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07050D
muted
#7A797E

Preview Lab

Preview with #23276C

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

Preview Lab → · Contrast checker → · Palette generator →

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