#3238A5#3238A5

#3238A5 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.0% C 0.172 H 273.5°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#3238A5
RGBrgb(50, 56, 165)
HSLhsl(237, 53%, 42%)
HSVhsv(237, 70%, 65%)
CMYKcmyk(69.7%, 66.1%, 0%, 35.3%)
CIE-LABlab(29.97, 34.06, -59.41)
CIE-LCHlch(29.97, 68.49, 299.83°)
OKLaboklab(41.02% 0.0106 -0.1716)
OKLCHoklch(41.02% 0.172 273.5)
XYZxyz(9.5188, 6.2222, 36.2894)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3238A5 #A59F32
analogous
#3271A5 #3238A5 #6632A5
triadic
#3238A5 #A53238 #38A532
tetradic
#3238A5 #A53271 #A59F32 #32A566
square
#3238A5 #A53271 #A59F32 #32A566
split-complementary
#3238A5 #A56632 #71A532
monochromatic
#161847 #242876 #3238A5 #4C52C9 #7B7FD7

Accessibility & contrast

On white

9.36
#3238A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#3238A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3238A5
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3238A5#FFFFFF#000000##FFFFFF
##3238A51.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA8
Deuteranopia (green-blind)
#0041A3
Tritanopia (blue-blind)
#005569
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3238a5;
/* rgb */ color: rgb(50, 56, 165);
/* oklch */ color: oklch(41.0% 0.172 273.5);
Tailwind
colors: {
  custom: {
    50: '#7a6fc1',
    500: '#3238a5',
    950: '#000000',
  },
}
SCSS
$custom: #3238a5;
$custom-light: #7a6fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#3238a5",
  "rgb": {
    "r": 50,
    "g": 56,
    "b": 165
  },
  "hsl": {
    "h": 236.87,
    "s": 53.488,
    "l": 42.157
  },
  "oklch": {
    "l": 0.41016,
    "c": 0.17189,
    "h": 273.5
  },
  "luminance": 0.06223
}

Semantic roles & 50–950 ramp

primary
#3238A5
secondary
#BFBB73
accent
#D54BDD
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #3238A5

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

Preview Lab → · Contrast checker → · Palette generator →

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