#232591#232591

#232591 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.0% C 0.171 H 272.4°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#232591
RGBrgb(35, 37, 145)
HSLhsl(239, 61%, 35%)
HSVhsv(239, 76%, 57%)
CMYKcmyk(75.9%, 74.5%, 0%, 43.1%)
CIE-LABlab(22.74, 37.12, -59.11)
CIE-LCHlch(22.74, 69.80, 302.13°)
OKLaboklab(34.96% 0.0072 -0.1711)
OKLCHoklch(34.96% 0.171 272.4)
XYZxyz(6.4638, 3.7241, 27.1607)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232591 #918F23
analogous
#235C91 #232591 #582391
triadic
#232591 #912325 #259123
tetradic
#232591 #91235C #918F23 #239158
square
#232591 #91235C #918F23 #239158
split-complementary
#232591 #915823 #5C9123
monochromatic
#0B0C2E #171860 #232591 #2F32C2 #585AD7

Accessibility & contrast

On white

12.03
#232591 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#232591 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232591
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232591#FFFFFF#000000##FFFFFF
##2325911.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C94
Deuteranopia (green-blind)
#00318F
Tritanopia (blue-blind)
#004459
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #232591;
/* rgb */ color: rgb(35, 37, 145);
/* oklch */ color: oklch(35.0% 0.171 272.4);
Tailwind
colors: {
  custom: {
    50: '#7161b2',
    500: '#232591',
    950: '#000000',
  },
}
SCSS
$custom: #232591;
$custom-light: #7161b2;
$custom-dark: #000000;
JSON
{
  "hex": "#232591",
  "rgb": {
    "r": 35,
    "g": 37,
    "b": 145
  },
  "hsl": {
    "h": 238.909,
    "s": 61.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.3496,
    "c": 0.17121,
    "h": 272.4
  },
  "luminance": 0.03725
}

Semantic roles & 50–950 ramp

primary
#232591
secondary
#BBB955
accent
#E144E4
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #232591

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

Preview Lab → · Contrast checker → · Palette generator →

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