#3238BD#3238BD

#3238BD is a dark, highly saturated blue. Relative luminance 0.072; OKLCH L 43.3% C 0.203 H 272.2°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#3238BD
RGBrgb(50, 56, 189)
HSLhsl(237, 58%, 47%)
HSVhsv(237, 74%, 74%)
CMYKcmyk(73.5%, 70.4%, 0%, 25.9%)
CIE-LABlab(32.21, 42.41, -70.03)
CIE-LCHlch(32.21, 81.87, 301.20°)
OKLaboklab(43.33% 0.0079 -0.2026)
OKLCHoklch(43.33% 0.203 272.2)
XYZxyz(11.9118, 7.1794, 48.8922)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3238BD #BDB732
analogous
#327EBD #3238BD #7232BD
triadic
#3238BD #BD3238 #38BD32
tetradic
#3238BD #BD327E #BDB732 #32BD72
square
#3238BD #BD327E #BDB732 #32BD72
split-complementary
#3238BD #BD7232 #7EBD32
monochromatic
#181B5C #252A8D #3238BD #595ED3 #898DE0

Accessibility & contrast

On white

8.62
#3238BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#3238BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3238BD
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3238BD#FFFFFF#000000##FFFFFF
##3238BD1.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C1
Deuteranopia (green-blind)
#0045BB
Tritanopia (blue-blind)
#005D76
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3238bd;
/* rgb */ color: rgb(50, 56, 189);
/* oklch */ color: oklch(43.3% 0.203 272.2);
Tailwind
colors: {
  custom: {
    50: '#7f6fd2',
    500: '#3238bd',
    950: '#000000',
  },
}
SCSS
$custom: #3238bd;
$custom-light: #7f6fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#3238bd",
  "rgb": {
    "r": 50,
    "g": 56,
    "b": 189
  },
  "hsl": {
    "h": 237.41,
    "s": 58.159,
    "l": 46.863
  },
  "oklch": {
    "l": 0.43325,
    "c": 0.20275,
    "h": 272.2
  },
  "luminance": 0.07181
}

Semantic roles & 50–950 ramp

primary
#3238BD
secondary
#CAC781
accent
#DB46E1
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3238BD

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

Preview Lab → · Contrast checker → · Palette generator →

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