#232872#232872

#232872 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.3% C 0.125 H 274.0°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#232872
RGBrgb(35, 40, 114)
HSLhsl(236, 53%, 29%)
HSVhsv(236, 69%, 45%)
CMYKcmyk(69.3%, 64.9%, 0%, 55.3%)
CIE-LABlab(20.40, 23.83, -43.39)
CIE-LCHlch(20.40, 49.50, 298.78°)
OKLaboklab(32.34% 0.0088 -0.1251)
OKLCHoklch(32.34% 0.125 274)
XYZxyz(4.4882, 3.0894, 16.2761)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232872 #726D23
analogous
#235072 #232872 #462372
triadic
#232872 #722328 #287223
tetradic
#232872 #722350 #726D23 #237246
square
#232872 #722350 #726D23 #237246
split-complementary
#232872 #724623 #507223
monochromatic
#070817 #151843 #232872 #3138A1 #4850C7

Accessibility & contrast

On white

12.98
#232872 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#232872 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232872
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232872#FFFFFF#000000##FFFFFF
##2328721.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003574
Deuteranopia (green-blind)
#002E71
Tritanopia (blue-blind)
#003B49
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #232872;
/* rgb */ color: rgb(35, 40, 114);
/* oklch */ color: oklch(32.3% 0.125 274.0);
Tailwind
colors: {
  custom: {
    50: '#69629b',
    500: '#232872',
    950: '#000000',
  },
}
SCSS
$custom: #232872;
$custom-light: #69629b;
$custom-dark: #000000;
JSON
{
  "hex": "#232872",
  "rgb": {
    "r": 35,
    "g": 40,
    "b": 114
  },
  "hsl": {
    "h": 236.203,
    "s": 53.02,
    "l": 29.216
  },
  "oklch": {
    "l": 0.32337,
    "c": 0.12539,
    "h": 274
  },
  "luminance": 0.0309
}

Semantic roles & 50–950 ramp

primary
#232872
secondary
#A59F4C
accent
#D34BDC
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #232872

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

Preview Lab → · Contrast checker → · Palette generator →

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