#3238AD#3238AD

#3238AD is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.8% C 0.182 H 273.1°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#3238AD
RGBrgb(50, 56, 173)
HSLhsl(237, 55%, 44%)
HSVhsv(237, 71%, 68%)
CMYKcmyk(71.1%, 67.6%, 0%, 32.2%)
CIE-LABlab(30.69, 36.88, -63.02)
CIE-LCHlch(30.69, 73.02, 300.33°)
OKLaboklab(41.77% 0.0098 -0.1821)
OKLCHoklch(41.77% 0.182 273.1)
XYZxyz(10.2699, 6.5226, 40.2448)
Luminance0.0652 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3238AD #ADA732
analogous
#3275AD #3238AD #6932AD
triadic
#3238AD #AD3238 #38AD32
tetradic
#3238AD #AD3275 #ADA732 #32AD69
square
#3238AD #AD3275 #ADA732 #32AD69
split-complementary
#3238AD #AD6932 #75AD32
monochromatic
#17194E #24297E #3238AD #5056CC #7F84DA

Accessibility & contrast

On white

9.11
#3238AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#3238AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3238AD
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3238AD#FFFFFF#000000##FFFFFF
##3238AD1.009.112.309.11
#FFFFFF9.111.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB1
Deuteranopia (green-blind)
#0043AB
Tritanopia (blue-blind)
#00576E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3238ad;
/* rgb */ color: rgb(50, 56, 173);
/* oklch */ color: oklch(41.8% 0.182 273.1);
Tailwind
colors: {
  custom: {
    50: '#7b6fc6',
    500: '#3238ad',
    950: '#000000',
  },
}
SCSS
$custom: #3238ad;
$custom-light: #7b6fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#3238ad",
  "rgb": {
    "r": 50,
    "g": 56,
    "b": 173
  },
  "hsl": {
    "h": 237.073,
    "s": 55.157,
    "l": 43.725
  },
  "oklch": {
    "l": 0.41768,
    "c": 0.1824,
    "h": 273.1
  },
  "luminance": 0.06524
}

Semantic roles & 50–950 ramp

primary
#3238AD
secondary
#C3BF78
accent
#D749DE
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3238AD

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

Preview Lab → · Contrast checker → · Palette generator →

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