#232182#232182

#232182 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.7% C 0.156 H 274.4°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#232182
RGBrgb(35, 33, 130)
HSLhsl(241, 60%, 32%)
HSVhsv(241, 75%, 51%)
CMYKcmyk(73.1%, 74.6%, 0%, 49%)
CIE-LABlab(20.27, 34.27, -53.80)
CIE-LCHlch(20.27, 63.79, 302.50°)
OKLaboklab(32.72% 0.012 -0.1556)
OKLCHoklch(32.72% 0.156 274.4)
XYZxyz(5.2649, 3.0562, 21.4272)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232182 #808221
analogous
#215082 #232182 #542182
triadic
#232182 #822321 #218223
tetradic
#232182 #822150 #808221 #218254
square
#232182 #822150 #808221 #218254
split-complementary
#232182 #825421 #508221
monochromatic
#090820 #161551 #232182 #302DB3 #4F4CD2

Accessibility & contrast

On white

13.03
#232182 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #232182
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232182#FFFFFF#000000##FFFFFF
##2321821.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #232182;
/* rgb */ color: rgb(35, 33, 130);
/* oklch */ color: oklch(32.7% 0.156 274.4);
Tailwind
colors: {
  custom: {
    50: '#6d5da7',
    500: '#232182',
    950: '#000000',
  },
}
SCSS
$custom: #232182;
$custom-light: #6d5da7;
$custom-dark: #000000;
JSON
{
  "hex": "#232182",
  "rgb": {
    "r": 35,
    "g": 33,
    "b": 130
  },
  "hsl": {
    "h": 241.237,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.3272,
    "c": 0.15603,
    "h": 274.4
  },
  "luminance": 0.03057
}

Semantic roles & 50–950 ramp

primary
#232182
secondary
#B2B44A
accent
#E345DF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #232182

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

Preview Lab → · Contrast checker → · Palette generator →

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