#3238B6#3238B6

#3238B6 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.6% C 0.194 H 272.6°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#3238B6
RGBrgb(50, 56, 182)
HSLhsl(237, 57%, 45%)
HSVhsv(237, 73%, 71%)
CMYKcmyk(72.5%, 69.2%, 0%, 28.6%)
CIE-LABlab(31.54, 40.01, -67.00)
CIE-LCHlch(31.54, 78.03, 300.84°)
OKLaboklab(42.64% 0.0088 -0.1937)
OKLCHoklch(42.64% 0.194 272.6)
XYZxyz(11.1702, 6.8827, 44.9867)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3238B6 #B6B032
analogous
#327AB6 #3238B6 #6E32B6
triadic
#3238B6 #B63238 #38B632
tetradic
#3238B6 #B6327A #B6B032 #32B66E
square
#3238B6 #B6327A #B6B032 #32B66E
split-complementary
#3238B6 #B66E32 #7AB632
monochromatic
#181A56 #252986 #3238B6 #555BD0 #8589DD

Accessibility & contrast

On white

8.84
#3238B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#3238B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3238B6
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3238B6#FFFFFF#000000##FFFFFF
##3238B61.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3238b6;
/* rgb */ color: rgb(50, 56, 182);
/* oklch */ color: oklch(42.6% 0.194 272.6);
Tailwind
colors: {
  custom: {
    50: '#7d6fcd',
    500: '#3238b6',
    950: '#000000',
  },
}
SCSS
$custom: #3238b6;
$custom-light: #7d6fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#3238b6",
  "rgb": {
    "r": 50,
    "g": 56,
    "b": 182
  },
  "hsl": {
    "h": 237.273,
    "s": 56.897,
    "l": 45.49
  },
  "oklch": {
    "l": 0.42636,
    "c": 0.19395,
    "h": 272.6
  },
  "luminance": 0.06884
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3238B6

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

Preview Lab → · Contrast checker → · Palette generator →

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