#3238B2#3238B2

#3238B2 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.2% C 0.189 H 272.8°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#3238B2
RGBrgb(50, 56, 178)
HSLhsl(237, 56%, 45%)
HSVhsv(237, 72%, 70%)
CMYKcmyk(71.9%, 68.5%, 0%, 30.2%)
CIE-LABlab(31.16, 38.62, -65.24)
CIE-LCHlch(31.16, 75.82, 300.62°)
OKLaboklab(42.25% 0.0093 -0.1886)
OKLCHoklch(42.25% 0.189 272.8)
XYZxyz(10.7628, 6.7197, 42.8407)
Luminance0.0672 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3238B2 #B2AC32
analogous
#3278B2 #3238B2 #6C32B2
triadic
#3238B2 #B23238 #38B232
tetradic
#3238B2 #B23278 #B2AC32 #32B26C
square
#3238B2 #B23278 #B2AC32 #32B26C
split-complementary
#3238B2 #B26C32 #78B232
monochromatic
#171A52 #252982 #3238B2 #5358CF #8287DC

Accessibility & contrast

On white

8.96
#3238B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#3238B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3238B2
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3238B2#FFFFFF#000000##FFFFFF
##3238B21.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB6
Deuteranopia (green-blind)
#0043B0
Tritanopia (blue-blind)
#005970
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3238b2;
/* rgb */ color: rgb(50, 56, 178);
/* oklch */ color: oklch(42.2% 0.189 272.8);
Tailwind
colors: {
  custom: {
    50: '#7d6fca',
    500: '#3238b2',
    950: '#000000',
  },
}
SCSS
$custom: #3238b2;
$custom-light: #7d6fca;
$custom-dark: #000000;
JSON
{
  "hex": "#3238b2",
  "rgb": {
    "r": 50,
    "g": 56,
    "b": 178
  },
  "hsl": {
    "h": 237.188,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.42248,
    "c": 0.18886,
    "h": 272.8
  },
  "luminance": 0.06721
}

Semantic roles & 50–950 ramp

primary
#3238B2
secondary
#C5C27B
accent
#D848DF
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3238B2

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

Preview Lab → · Contrast checker → · Palette generator →

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