#232181#232181

#232181 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.6% C 0.155 H 274.5°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#232181
RGBrgb(35, 33, 129)
HSLhsl(241, 59%, 32%)
HSVhsv(241, 74%, 51%)
CMYKcmyk(72.9%, 74.4%, 0%, 49.4%)
CIE-LABlab(20.16, 33.92, -53.34)
CIE-LCHlch(20.16, 63.22, 302.45°)
OKLaboklab(32.61% 0.0122 -0.1542)
OKLCHoklch(32.61% 0.155 274.5)
XYZxyz(5.1981, 3.0295, 21.0754)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232181 #7F8121
analogous
#214F81 #232181 #532181
triadic
#232181 #812321 #218123
tetradic
#232181 #81214F #7F8121 #218153
square
#232181 #81214F #7F8121 #218153
split-complementary
#232181 #815321 #4F8121
monochromatic
#090820 #161550 #232181 #302DB2 #4E4BD1

Accessibility & contrast

On white

13.08
#232181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#232181 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232181
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232181#FFFFFF#000000##FFFFFF
##2321811.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003584
Deuteranopia (green-blind)
#002C7F
Tritanopia (blue-blind)
#003C4F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #232181;
/* rgb */ color: rgb(35, 33, 129);
/* oklch */ color: oklch(32.6% 0.155 274.5);
Tailwind
colors: {
  custom: {
    50: '#6d5da7',
    500: '#232181',
    950: '#000000',
  },
}
SCSS
$custom: #232181;
$custom-light: #6d5da7;
$custom-dark: #000000;
JSON
{
  "hex": "#232181",
  "rgb": {
    "r": 35,
    "g": 33,
    "b": 129
  },
  "hsl": {
    "h": 241.25,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.32613,
    "c": 0.15471,
    "h": 274.5
  },
  "luminance": 0.0303
}

Semantic roles & 50–950 ramp

primary
#232181
secondary
#B1B44A
accent
#E245DF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #232181

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

Preview Lab → · Contrast checker → · Palette generator →

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