#3238B5#3238B5

#3238B5 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.5% C 0.193 H 272.6°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#3238B5
RGBrgb(50, 56, 181)
HSLhsl(237, 57%, 45%)
HSVhsv(237, 72%, 71%)
CMYKcmyk(72.4%, 69.1%, 0%, 29%)
CIE-LABlab(31.44, 39.66, -66.56)
CIE-LCHlch(31.44, 77.48, 300.79°)
OKLaboklab(42.54% 0.0089 -0.1925)
OKLCHoklch(42.54% 0.193 272.6)
XYZxyz(11.0673, 6.8415, 44.4444)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3238B5 #B5AF32
analogous
#3279B5 #3238B5 #6D32B5
triadic
#3238B5 #B53238 #38B532
tetradic
#3238B5 #B53279 #B5AF32 #32B56D
square
#3238B5 #B53279 #B5AF32 #32B56D
split-complementary
#3238B5 #B56D32 #79B532
monochromatic
#181A55 #252985 #3238B5 #545AD0 #8488DD

Accessibility & contrast

On white

8.87
#3238B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#3238B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3238B5
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3238B5#FFFFFF#000000##FFFFFF
##3238B51.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B9
Deuteranopia (green-blind)
#0044B3
Tritanopia (blue-blind)
#005A72
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3238b5;
/* rgb */ color: rgb(50, 56, 181);
/* oklch */ color: oklch(42.5% 0.193 272.6);
Tailwind
colors: {
  custom: {
    50: '#7d6fcc',
    500: '#3238b5',
    950: '#000000',
  },
}
SCSS
$custom: #3238b5;
$custom-light: #7d6fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#3238b5",
  "rgb": {
    "r": 50,
    "g": 56,
    "b": 181
  },
  "hsl": {
    "h": 237.252,
    "s": 56.71,
    "l": 45.294
  },
  "oklch": {
    "l": 0.42539,
    "c": 0.19269,
    "h": 272.6
  },
  "luminance": 0.06843
}

Semantic roles & 50–950 ramp

primary
#3238B5
secondary
#C7C37C
accent
#D948E0
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #3238B5

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

Preview Lab → · Contrast checker → · Palette generator →

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