#232082#232082

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

Color values

HEX#232082
RGBrgb(35, 32, 130)
HSLhsl(242, 60%, 32%)
HSVhsv(242, 75%, 51%)
CMYKcmyk(73.1%, 75.4%, 0%, 49%)
CIE-LABlab(20.05, 34.88, -54.16)
CIE-LCHlch(20.05, 64.42, 302.78°)
OKLaboklab(32.57% 0.0126 -0.1566)
OKLCHoklch(32.57% 0.157 274.6)
XYZxyz(5.2376, 3.0015, 21.4181)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232082 #7F8220
analogous
#204E82 #232082 #542082
triadic
#232082 #822320 #208223
tetradic
#232082 #82204E #7F8220 #208254
square
#232082 #82204E #7F8220 #208254
split-complementary
#232082 #825420 #4E8220
monochromatic
#090820 #161451 #232082 #302CB3 #4E4AD2

Accessibility & contrast

On white

13.12
#232082 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#232082 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232082
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232082#FFFFFF#000000##FFFFFF
##2320821.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #232082;
/* rgb */ color: rgb(35, 32, 130);
/* oklch */ color: oklch(32.6% 0.157 274.6);
Tailwind
colors: {
  custom: {
    50: '#6e5da7',
    500: '#232082',
    950: '#000000',
  },
}
SCSS
$custom: #232082;
$custom-light: #6e5da7;
$custom-dark: #000000;
JSON
{
  "hex": "#232082",
  "rgb": {
    "r": 35,
    "g": 32,
    "b": 130
  },
  "hsl": {
    "h": 241.837,
    "s": 60.494,
    "l": 31.765
  },
  "oklch": {
    "l": 0.32565,
    "c": 0.15712,
    "h": 274.6
  },
  "luminance": 0.03002
}

Semantic roles & 50–950 ramp

primary
#232082
secondary
#B1B549
accent
#E444DF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #232082

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

Preview Lab → · Contrast checker → · Palette generator →

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