#3238B4#3238B4

#3238B4 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.4% C 0.191 H 272.7°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#3238B4
RGBrgb(50, 56, 180)
HSLhsl(237, 57%, 45%)
HSVhsv(237, 72%, 71%)
CMYKcmyk(72.2%, 68.9%, 0%, 29.4%)
CIE-LABlab(31.35, 39.31, -66.12)
CIE-LCHlch(31.35, 76.93, 300.73°)
OKLaboklab(42.44% 0.009 -0.1912)
OKLCHoklch(42.44% 0.191 272.7)
XYZxyz(10.9650, 6.8006, 43.9060)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3238B4 #B4AE32
analogous
#3279B4 #3238B4 #6D32B4
triadic
#3238B4 #B43238 #38B432
tetradic
#3238B4 #B43279 #B4AE32 #32B46D
square
#3238B4 #B43279 #B4AE32 #32B46D
split-complementary
#3238B4 #B46D32 #79B432
monochromatic
#171A54 #252984 #3238B4 #5459CF #8488DD

Accessibility & contrast

On white

8.90
#3238B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#3238B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3238B4
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3238B4#FFFFFF#000000##FFFFFF
##3238B41.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B8
Deuteranopia (green-blind)
#0044B2
Tritanopia (blue-blind)
#005A71
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3238b4;
/* rgb */ color: rgb(50, 56, 180);
/* oklch */ color: oklch(42.4% 0.191 272.7);
Tailwind
colors: {
  custom: {
    50: '#7d6fcc',
    500: '#3238b4',
    950: '#000000',
  },
}
SCSS
$custom: #3238b4;
$custom-light: #7d6fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#3238b4",
  "rgb": {
    "r": 50,
    "g": 56,
    "b": 180
  },
  "hsl": {
    "h": 237.231,
    "s": 56.522,
    "l": 45.098
  },
  "oklch": {
    "l": 0.42442,
    "c": 0.19141,
    "h": 272.7
  },
  "luminance": 0.06802
}

Semantic roles & 50–950 ramp

primary
#3238B4
secondary
#C6C37C
accent
#D948E0
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3238B4

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

Preview Lab → · Contrast checker → · Palette generator →

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