#3238CF#3238CF

#3238CF is a mid, highly saturated blue. Relative luminance 0.080; OKLCH L 45.1% C 0.225 H 271.4°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#3238CF
RGBrgb(50, 56, 207)
HSLhsl(238, 62%, 50%)
HSVhsv(238, 76%, 81%)
CMYKcmyk(75.8%, 72.9%, 0%, 18.8%)
CIE-LABlab(34.00, 48.45, -77.60)
CIE-LCHlch(34.00, 91.48, 301.98°)
OKLaboklab(45.14% 0.0053 -0.2247)
OKLCHoklch(45.14% 0.225 271.4)
XYZxyz(13.9882, 8.0099, 59.8282)
Luminance0.0801 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3238CF #CFC932
analogous
#3286CF #3238CF #7A32CF
triadic
#3238CF #CF3238 #38CF32
tetradic
#3238CF #CF3286 #CFC932 #32CF7A
square
#3238CF #CF3286 #CFC932 #32CF7A
split-complementary
#3238CF #CF7A32 #86CF32
monochromatic
#1A1D6D #252A9F #3238CF #6468DB #9598E6

Accessibility & contrast

On white

8.07
#3238CF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#3238CF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3238CF
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3238CF#FFFFFF#000000##FFFFFF
##3238CF1.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058D3
Deuteranopia (green-blind)
#0048CC
Tritanopia (blue-blind)
#006480
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3238cf;
/* rgb */ color: rgb(50, 56, 207);
/* oklch */ color: oklch(45.1% 0.225 271.4);
Tailwind
colors: {
  custom: {
    50: '#8370df',
    500: '#3238cf',
    950: '#000000',
  },
}
SCSS
$custom: #3238cf;
$custom-light: #8370df;
$custom-dark: #000000;
JSON
{
  "hex": "#3238cf",
  "rgb": {
    "r": 50,
    "g": 56,
    "b": 207
  },
  "hsl": {
    "h": 237.707,
    "s": 62.055,
    "l": 50.392
  },
  "oklch": {
    "l": 0.45144,
    "c": 0.22472,
    "h": 271.4
  },
  "luminance": 0.08011
}

Semantic roles & 50–950 ramp

primary
#3238CF
secondary
#D1CF8B
accent
#DF43E5
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #3238CF

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

Preview Lab → · Contrast checker → · Palette generator →

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