#3238A9#3238A9

#3238A9 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.4% C 0.177 H 273.3°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#3238A9
RGBrgb(50, 56, 169)
HSLhsl(237, 54%, 43%)
HSVhsv(237, 70%, 66%)
CMYKcmyk(70.4%, 66.9%, 0%, 33.7%)
CIE-LABlab(30.33, 35.47, -61.23)
CIE-LCHlch(30.33, 70.76, 300.09°)
OKLaboklab(41.39% 0.0102 -0.1769)
OKLCHoklch(41.39% 0.177 273.3)
XYZxyz(9.8886, 6.3701, 38.2368)
Luminance0.0637 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3238A9 #A9A332
analogous
#3273A9 #3238A9 #6732A9
triadic
#3238A9 #A93238 #38A932
tetradic
#3238A9 #A93273 #A9A332 #32A967
square
#3238A9 #A93273 #A9A332 #32A967
split-complementary
#3238A9 #A96732 #73A932
monochromatic
#16194B #24287A #3238A9 #4E54CB #7D82D9

Accessibility & contrast

On white

9.23
#3238A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#3238A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3238A9
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3238A9#FFFFFF#000000##FFFFFF
##3238A91.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAD
Deuteranopia (green-blind)
#0042A7
Tritanopia (blue-blind)
#00566B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3238a9;
/* rgb */ color: rgb(50, 56, 169);
/* oklch */ color: oklch(41.4% 0.177 273.3);
Tailwind
colors: {
  custom: {
    50: '#7b6fc4',
    500: '#3238a9',
    950: '#000000',
  },
}
SCSS
$custom: #3238a9;
$custom-light: #7b6fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#3238a9",
  "rgb": {
    "r": 50,
    "g": 56,
    "b": 169
  },
  "hsl": {
    "h": 236.975,
    "s": 54.338,
    "l": 42.941
  },
  "oklch": {
    "l": 0.4139,
    "c": 0.17717,
    "h": 273.3
  },
  "luminance": 0.06371
}

Semantic roles & 50–950 ramp

primary
#3238A9
secondary
#C1BD76
accent
#D64ADE
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3238A9

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

Preview Lab → · Contrast checker → · Palette generator →

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