#23276B#23276B

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

Color values

HEX#23276B
RGBrgb(35, 39, 107)
HSLhsl(237, 51%, 28%)
HSVhsv(237, 67%, 42%)
CMYKcmyk(67.3%, 63.6%, 0%, 58%)
CIE-LABlab(19.51, 21.87, -40.30)
CIE-LCHlch(19.51, 45.86, 298.49°)
OKLaboklab(31.49% 0.01 -0.116)
OKLCHoklch(31.49% 0.116 274.9)
XYZxyz(4.0716, 2.8696, 14.2464)
Luminance0.0287 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23276B #6B6723
analogous
#234B6B #23276B #43236B
triadic
#23276B #6B2327 #276B23
tetradic
#23276B #6B234B #6B6723 #236B43
square
#23276B #6B234B #6B6723 #236B43
split-complementary
#23276B #6B4323 #4B6B23
monochromatic
#080817 #14163D #23276B #323899 #464DC2

Accessibility & contrast

On white

13.34
#23276B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#23276B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23276B
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23276B#FFFFFF#000000##FFFFFF
##23276B1.0013.341.5713.34
#FFFFFF13.341.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326D
Deuteranopia (green-blind)
#002C6A
Tritanopia (blue-blind)
#003845
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #23276b;
/* rgb */ color: rgb(35, 39, 107);
/* oklch */ color: oklch(31.5% 0.116 274.9);
Tailwind
colors: {
  custom: {
    50: '#676196',
    500: '#23276b',
    950: '#000000',
  },
}
SCSS
$custom: #23276b;
$custom-light: #676196;
$custom-dark: #000000;
JSON
{
  "hex": "#23276b",
  "rgb": {
    "r": 35,
    "g": 39,
    "b": 107
  },
  "hsl": {
    "h": 236.667,
    "s": 50.704,
    "l": 27.843
  },
  "oklch": {
    "l": 0.31493,
    "c": 0.11646,
    "h": 274.9
  },
  "luminance": 0.0287
}

Semantic roles & 50–950 ramp

primary
#23276B
secondary
#9E9A4B
accent
#D24EDA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07050D
muted
#7A797E

Preview Lab

Preview with #23276B

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

Preview Lab → · Contrast checker → · Palette generator →

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