#232183#232183

#232183 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.8% C 0.157 H 274.3°. Best body text is #FFFFFF at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#232183
RGBrgb(35, 33, 131)
HSLhsl(241, 60%, 32%)
HSVhsv(241, 75%, 51%)
CMYKcmyk(73.3%, 74.8%, 0%, 48.6%)
CIE-LABlab(20.37, 34.63, -54.26)
CIE-LCHlch(20.37, 64.36, 302.54°)
OKLaboklab(32.83% 0.0118 -0.1569)
OKLCHoklch(32.83% 0.157 274.3)
XYZxyz(5.3324, 3.0832, 21.7824)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232183 #818321
analogous
#215083 #232183 #542183
triadic
#232183 #832321 #218323
tetradic
#232183 #832150 #818321 #218354
square
#232183 #832150 #818321 #218354
split-complementary
#232183 #835421 #508321
monochromatic
#090821 #161552 #232183 #302DB4 #4F4CD2

Accessibility & contrast

On white

12.99
#232183 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #232183
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232183#FFFFFF#000000##FFFFFF
##2321831.0012.991.6212.99
#FFFFFF12.991.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003686
Deuteranopia (green-blind)
#002C81
Tritanopia (blue-blind)
#003D50
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #232183;
/* rgb */ color: rgb(35, 33, 131);
/* oklch */ color: oklch(32.8% 0.157 274.3);
Tailwind
colors: {
  custom: {
    50: '#6e5da8',
    500: '#232183',
    950: '#000000',
  },
}
SCSS
$custom: #232183;
$custom-light: #6e5da8;
$custom-dark: #000000;
JSON
{
  "hex": "#232183",
  "rgb": {
    "r": 35,
    "g": 33,
    "b": 131
  },
  "hsl": {
    "h": 241.224,
    "s": 59.756,
    "l": 32.157
  },
  "oklch": {
    "l": 0.32828,
    "c": 0.15735,
    "h": 274.3
  },
  "luminance": 0.03084
}

Semantic roles & 50–950 ramp

primary
#232183
secondary
#B3B54B
accent
#E345E0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #232183

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

Preview Lab → · Contrast checker → · Palette generator →

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