#232976#232976

#232976 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 32.9% C 0.130 H 273.4°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#232976
RGBrgb(35, 41, 118)
HSLhsl(236, 54%, 30%)
HSVhsv(236, 70%, 46%)
CMYKcmyk(70.3%, 65.3%, 0%, 53.7%)
CIE-LABlab(21.02, 24.66, -44.94)
CIE-LCHlch(21.02, 51.26, 298.76°)
OKLaboklab(32.91% 0.0078 -0.1296)
OKLCHoklch(32.91% 0.13 273.4)
XYZxyz(4.7550, 3.2508, 17.5129)
Luminance0.0325 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232976 #767023
analogous
#235276 #232976 #472376
triadic
#232976 #762329 #297623
tetradic
#232976 #762352 #767023 #237647
square
#232976 #762352 #767023 #237647
split-complementary
#232976 #764723 #527623
monochromatic
#070818 #151947 #232976 #3139A5 #4A53C9

Accessibility & contrast

On white

12.73
#232976 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#232976 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232976
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232976#FFFFFF#000000##FFFFFF
##2329761.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003678
Deuteranopia (green-blind)
#002F75
Tritanopia (blue-blind)
#003D4B
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #232976;
/* rgb */ color: rgb(35, 41, 118);
/* oklch */ color: oklch(32.9% 0.130 273.4);
Tailwind
colors: {
  custom: {
    50: '#6a629e',
    500: '#232976',
    950: '#000000',
  },
}
SCSS
$custom: #232976;
$custom-light: #6a629e;
$custom-dark: #000000;
JSON
{
  "hex": "#232976",
  "rgb": {
    "r": 35,
    "g": 41,
    "b": 118
  },
  "hsl": {
    "h": 235.663,
    "s": 54.248,
    "l": 30
  },
  "oklch": {
    "l": 0.32907,
    "c": 0.12985,
    "h": 273.4
  },
  "luminance": 0.03251
}

Semantic roles & 50–950 ramp

primary
#232976
secondary
#A9A24C
accent
#D34ADE
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #232976

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

Preview Lab → · Contrast checker → · Palette generator →

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