#3238BF#3238BF

#3238BF is a dark, highly saturated blue. Relative luminance 0.073; OKLCH L 43.5% C 0.205 H 272.1°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#3238BF
RGBrgb(50, 56, 191)
HSLhsl(237, 59%, 47%)
HSVhsv(237, 74%, 75%)
CMYKcmyk(73.8%, 70.7%, 0%, 25.1%)
CIE-LABlab(32.41, 43.09, -70.89)
CIE-LCHlch(32.41, 82.95, 301.29°)
OKLaboklab(43.52% 0.0076 -0.2051)
OKLCHoklch(43.52% 0.205 272.1)
XYZxyz(12.1304, 7.2668, 50.0434)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3238BF #BFB932
analogous
#327EBF #3238BF #7332BF
triadic
#3238BF #BF3238 #38BF32
tetradic
#3238BF #BF327E #BFB932 #32BF73
square
#3238BF #BF327E #BFB932 #32BF73
split-complementary
#3238BF #BF7332 #7EBF32
monochromatic
#191C5E #252A8E #3238BF #5A5FD4 #8B8EE1

Accessibility & contrast

On white

8.56
#3238BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#3238BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3238BF
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3238BF#FFFFFF#000000##FFFFFF
##3238BF1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C3
Deuteranopia (green-blind)
#0045BD
Tritanopia (blue-blind)
#005E77
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3238bf;
/* rgb */ color: rgb(50, 56, 191);
/* oklch */ color: oklch(43.5% 0.205 272.1);
Tailwind
colors: {
  custom: {
    50: '#806fd4',
    500: '#3238bf',
    950: '#000000',
  },
}
SCSS
$custom: #3238bf;
$custom-light: #806fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#3238bf",
  "rgb": {
    "r": 50,
    "g": 56,
    "b": 191
  },
  "hsl": {
    "h": 237.447,
    "s": 58.506,
    "l": 47.255
  },
  "oklch": {
    "l": 0.43524,
    "c": 0.20524,
    "h": 272.1
  },
  "luminance": 0.07268
}

Semantic roles & 50–950 ramp

primary
#3238BF
secondary
#CBC882
accent
#DB46E2
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3238BF

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

Preview Lab → · Contrast checker → · Palette generator →

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