#3238C4#3238C4

#3238C4 is a dark, highly saturated blue. Relative luminance 0.075; OKLCH L 44.0% C 0.211 H 271.9°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#3238C4
RGBrgb(50, 56, 196)
HSLhsl(238, 59%, 48%)
HSVhsv(238, 74%, 77%)
CMYKcmyk(74.5%, 71.4%, 0%, 23.1%)
CIE-LABlab(32.90, 44.78, -73.01)
CIE-LCHlch(32.90, 85.65, 301.52°)
OKLaboklab(44.02% 0.0069 -0.2113)
OKLCHoklch(44.02% 0.211 271.9)
XYZxyz(12.6900, 7.4906, 52.9909)
Luminance0.0749 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3238C4 #C4BE32
analogous
#3281C4 #3238C4 #7532C4
triadic
#3238C4 #C43238 #38C432
tetradic
#3238C4 #C43281 #C4BE32 #32C475
square
#3238C4 #C43281 #C4BE32 #32C475
split-complementary
#3238C4 #C47532 #81C432
monochromatic
#191C62 #262A93 #3238C4 #5D62D6 #8E92E2

Accessibility & contrast

On white

8.41
#3238C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#3238C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3238C4
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3238C4#FFFFFF#000000##FFFFFF
##3238C41.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C8
Deuteranopia (green-blind)
#0046C1
Tritanopia (blue-blind)
#00607A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3238c4;
/* rgb */ color: rgb(50, 56, 196);
/* oklch */ color: oklch(44.0% 0.211 271.9);
Tailwind
colors: {
  custom: {
    50: '#8170d7',
    500: '#3238c4',
    950: '#000000',
  },
}
SCSS
$custom: #3238c4;
$custom-light: #8170d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3238c4",
  "rgb": {
    "r": 50,
    "g": 56,
    "b": 196
  },
  "hsl": {
    "h": 237.534,
    "s": 59.35,
    "l": 48.235
  },
  "oklch": {
    "l": 0.44024,
    "c": 0.2114,
    "h": 271.9
  },
  "luminance": 0.07492
}

Semantic roles & 50–950 ramp

primary
#3238C4
secondary
#CDCA85
accent
#DC45E3
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #3238C4

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

Preview Lab → · Contrast checker → · Palette generator →

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