#3238C2#3238C2

#3238C2 is a dark, highly saturated blue. Relative luminance 0.074; OKLCH L 43.8% C 0.209 H 272.0°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#3238C2
RGBrgb(50, 56, 194)
HSLhsl(238, 59%, 48%)
HSVhsv(238, 74%, 76%)
CMYKcmyk(74.2%, 71.1%, 0%, 23.9%)
CIE-LABlab(32.70, 44.11, -72.16)
CIE-LCHlch(32.70, 84.57, 301.43°)
OKLaboklab(43.82% 0.0072 -0.2088)
OKLCHoklch(43.82% 0.209 272)
XYZxyz(12.4639, 7.4002, 51.8000)
Luminance0.0740 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3238C2 #C2BC32
analogous
#3280C2 #3238C2 #7432C2
triadic
#3238C2 #C23238 #38C232
tetradic
#3238C2 #C23280 #C2BC32 #32C274
square
#3238C2 #C23280 #C2BC32 #32C274
split-complementary
#3238C2 #C27432 #80C232
monochromatic
#191C61 #252A91 #3238C2 #5C61D5 #8D90E2

Accessibility & contrast

On white

8.47
#3238C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#3238C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3238C2
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3238C2#FFFFFF#000000##FFFFFF
##3238C21.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C6
Deuteranopia (green-blind)
#0046BF
Tritanopia (blue-blind)
#005F79
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3238c2;
/* rgb */ color: rgb(50, 56, 194);
/* oklch */ color: oklch(43.8% 0.209 272.0);
Tailwind
colors: {
  custom: {
    50: '#8070d6',
    500: '#3238c2',
    950: '#000000',
  },
}
SCSS
$custom: #3238c2;
$custom-light: #8070d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3238c2",
  "rgb": {
    "r": 50,
    "g": 56,
    "b": 194
  },
  "hsl": {
    "h": 237.5,
    "s": 59.016,
    "l": 47.843
  },
  "oklch": {
    "l": 0.43823,
    "c": 0.20894,
    "h": 272
  },
  "luminance": 0.07401
}

Semantic roles & 50–950 ramp

primary
#3238C2
secondary
#CCC984
accent
#DC46E2
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3238C2

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

Preview Lab → · Contrast checker → · Palette generator →

#3238C2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva