#232876#232876

#232876 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.7% C 0.131 H 273.8°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#232876
RGBrgb(35, 40, 118)
HSLhsl(236, 54%, 30%)
HSVhsv(236, 70%, 46%)
CMYKcmyk(70.3%, 66.1%, 0%, 53.7%)
CIE-LABlab(20.76, 25.34, -45.36)
CIE-LCHlch(20.76, 51.96, 299.19°)
OKLaboklab(32.71% 0.0086 -0.1309)
OKLCHoklch(32.71% 0.131 273.8)
XYZxyz(4.7209, 3.1825, 17.5015)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232876 #767123
analogous
#235176 #232876 #482376
triadic
#232876 #762328 #287623
tetradic
#232876 #762351 #767123 #237648
square
#232876 #762351 #767123 #237648
split-complementary
#232876 #764823 #517623
monochromatic
#070818 #151847 #232876 #3138A5 #4A52C9

Accessibility & contrast

On white

12.83
#232876 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#232876 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232876
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232876#FFFFFF#000000##FFFFFF
##2328761.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003678
Deuteranopia (green-blind)
#002E74
Tritanopia (blue-blind)
#003C4B
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #232876;
/* rgb */ color: rgb(35, 40, 118);
/* oklch */ color: oklch(32.7% 0.131 273.8);
Tailwind
colors: {
  custom: {
    50: '#6a629e',
    500: '#232876',
    950: '#000000',
  },
}
SCSS
$custom: #232876;
$custom-light: #6a629e;
$custom-dark: #000000;
JSON
{
  "hex": "#232876",
  "rgb": {
    "r": 35,
    "g": 40,
    "b": 118
  },
  "hsl": {
    "h": 236.386,
    "s": 54.248,
    "l": 30
  },
  "oklch": {
    "l": 0.32715,
    "c": 0.13116,
    "h": 273.8
  },
  "luminance": 0.03183
}

Semantic roles & 50–950 ramp

primary
#232876
secondary
#A9A34C
accent
#D54ADE
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #232876

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

Preview Lab → · Contrast checker → · Palette generator →

#232876 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva