#3242CB#3242CB

#3242CB is a mid, highly saturated blue. Relative luminance 0.089; OKLCH L 46.3% C 0.209 H 270.3°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#3242CB
RGBrgb(50, 66, 203)
HSLhsl(234, 60%, 50%)
HSVhsv(234, 75%, 80%)
CMYKcmyk(75.4%, 67.5%, 0%, 20.4%)
CIE-LABlab(35.76, 41.20, -72.38)
CIE-LCHlch(35.76, 83.28, 299.65°)
OKLaboklab(46.29% 0.001 -0.2095)
OKLCHoklch(46.29% 0.209 270.3)
XYZxyz(14.0394, 8.8848, 57.4634)
Luminance0.0889 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3242CB #CBBB32
analogous
#328FCB #3242CB #6E32CB
triadic
#3242CB #CB3242 #42CB32
tetradic
#3242CB #CB328F #CBBB32 #32CB6E
square
#3242CB #CB328F #CBBB32 #32CB6E
split-complementary
#3242CB #CB6E32 #8FCB32
monochromatic
#1A2269 #26329A #3242CB #626ED8 #939CE4

Accessibility & contrast

On white

7.56
#3242CB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#3242CB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3242CB
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3242CB#FFFFFF#000000##FFFFFF
##3242CB1.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCF
Deuteranopia (green-blind)
#004DC8
Tritanopia (blue-blind)
#006781
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3242cb;
/* rgb */ color: rgb(50, 66, 203);
/* oklch */ color: oklch(46.3% 0.209 270.3);
Tailwind
colors: {
  custom: {
    50: '#8177dc',
    500: '#3242cb',
    950: '#000000',
  },
}
SCSS
$custom: #3242cb;
$custom-light: #8177dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3242cb",
  "rgb": {
    "r": 50,
    "g": 66,
    "b": 203
  },
  "hsl": {
    "h": 233.725,
    "s": 60.474,
    "l": 49.608
  },
  "oklch": {
    "l": 0.46292,
    "c": 0.20946,
    "h": 270.3
  },
  "luminance": 0.08886
}

Semantic roles & 50–950 ramp

primary
#3242CB
secondary
#CFC889
accent
#D344E4
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #3242CB

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

Preview Lab → · Contrast checker → · Palette generator →

#3242CB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva