#232282#232282

#232282 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.9% C 0.155 H 274.2°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#232282
RGBrgb(35, 34, 130)
HSLhsl(241, 59%, 32%)
HSVhsv(241, 74%, 51%)
CMYKcmyk(73.1%, 73.8%, 0%, 49%)
CIE-LABlab(20.49, 33.66, -53.44)
CIE-LCHlch(20.49, 63.15, 302.20°)
OKLaboklab(32.88% 0.0114 -0.1545)
OKLCHoklch(32.88% 0.155 274.2)
XYZxyz(5.2931, 3.1126, 21.4366)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232282 #818222
analogous
#225182 #232282 #532282
triadic
#232282 #822322 #228223
tetradic
#232282 #822251 #818222 #228253
square
#232282 #822251 #818222 #228253
split-complementary
#232282 #825322 #518222
monochromatic
#090921 #161551 #232282 #302FB3 #4F4ED1

Accessibility & contrast

On white

12.94
#232282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#232282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232282
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232282#FFFFFF#000000##FFFFFF
##2322821.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003685
Deuteranopia (green-blind)
#002D80
Tritanopia (blue-blind)
#003D4F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #232282;
/* rgb */ color: rgb(35, 34, 130);
/* oklch */ color: oklch(32.9% 0.155 274.2);
Tailwind
colors: {
  custom: {
    50: '#6d5ea7',
    500: '#232282',
    950: '#000000',
  },
}
SCSS
$custom: #232282;
$custom-light: #6d5ea7;
$custom-dark: #000000;
JSON
{
  "hex": "#232282",
  "rgb": {
    "r": 35,
    "g": 34,
    "b": 130
  },
  "hsl": {
    "h": 240.625,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.32878,
    "c": 0.15493,
    "h": 274.2
  },
  "luminance": 0.03113
}

Semantic roles & 50–950 ramp

primary
#232282
secondary
#B3B44C
accent
#E246E0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #232282

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

Preview Lab → · Contrast checker → · Palette generator →

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