#232291#232291

#232291 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.5% C 0.174 H 272.8°. Best body text is #FFFFFF at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#232291
RGBrgb(35, 34, 145)
HSLhsl(241, 62%, 35%)
HSVhsv(241, 77%, 57%)
CMYKcmyk(75.9%, 76.6%, 0%, 43.1%)
CIE-LABlab(22.11, 38.89, -60.15)
CIE-LCHlch(22.11, 71.63, 302.88°)
OKLaboklab(34.51% 0.0087 -0.1741)
OKLCHoklch(34.51% 0.174 272.8)
XYZxyz(6.3743, 3.5451, 27.1309)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232291 #909122
analogous
#225891 #232291 #5B2291
triadic
#232291 #912322 #229123
tetradic
#232291 #912258 #909122 #22915B
square
#232291 #912258 #909122 #22915B
split-complementary
#232291 #915B22 #589122
monochromatic
#0B0B2E #17165F #232291 #2F2EC3 #5756D7

Accessibility & contrast

On white

12.29
#232291 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#232291 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232291
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232291#FFFFFF#000000##FFFFFF
##2322911.0012.291.7112.29
#FFFFFF12.291.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A94
Deuteranopia (green-blind)
#002F8F
Tritanopia (blue-blind)
#004358
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #232291;
/* rgb */ color: rgb(35, 34, 145);
/* oklch */ color: oklch(34.5% 0.174 272.8);
Tailwind
colors: {
  custom: {
    50: '#715fb2',
    500: '#232291',
    950: '#000000',
  },
}
SCSS
$custom: #232291;
$custom-light: #715fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#232291",
  "rgb": {
    "r": 35,
    "g": 34,
    "b": 145
  },
  "hsl": {
    "h": 240.541,
    "s": 62.011,
    "l": 35.098
  },
  "oklch": {
    "l": 0.34512,
    "c": 0.17428,
    "h": 272.8
  },
  "luminance": 0.03546
}

Semantic roles & 50–950 ramp

primary
#232291
secondary
#BABB53
accent
#E543E4
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #232291

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

Preview Lab → · Contrast checker → · Palette generator →

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