#3238B9#3238B9

#3238B9 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.9% C 0.198 H 272.4°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#3238B9
RGBrgb(50, 56, 185)
HSLhsl(237, 57%, 46%)
HSVhsv(237, 73%, 73%)
CMYKcmyk(73%, 69.7%, 0%, 27.5%)
CIE-LABlab(31.83, 41.04, -68.30)
CIE-LCHlch(31.83, 79.68, 301.00°)
OKLaboklab(42.93% 0.0084 -0.1976)
OKLCHoklch(42.93% 0.198 272.4)
XYZxyz(11.4836, 7.0081, 46.6370)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3238B9 #B9B332
analogous
#327BB9 #3238B9 #6F32B9
triadic
#3238B9 #B93238 #38B932
tetradic
#3238B9 #B9327B #B9B332 #32B96F
square
#3238B9 #B9327B #B9B332 #32B96F
split-complementary
#3238B9 #B96F32 #7BB932
monochromatic
#181B59 #252989 #3238B9 #575CD2 #878BDF

Accessibility & contrast

On white

8.74
#3238B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#3238B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3238B9
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3238B9#FFFFFF#000000##FFFFFF
##3238B91.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BD
Deuteranopia (green-blind)
#0044B7
Tritanopia (blue-blind)
#005C74
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3238b9;
/* rgb */ color: rgb(50, 56, 185);
/* oklch */ color: oklch(42.9% 0.198 272.4);
Tailwind
colors: {
  custom: {
    50: '#7e6fcf',
    500: '#3238b9',
    950: '#000000',
  },
}
SCSS
$custom: #3238b9;
$custom-light: #7e6fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#3238b9",
  "rgb": {
    "r": 50,
    "g": 56,
    "b": 185
  },
  "hsl": {
    "h": 237.333,
    "s": 57.447,
    "l": 46.078
  },
  "oklch": {
    "l": 0.4293,
    "c": 0.19775,
    "h": 272.4
  },
  "luminance": 0.07009
}

Semantic roles & 50–950 ramp

primary
#3238B9
secondary
#C8C57F
accent
#DA47E1
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #3238B9

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

Preview Lab → · Contrast checker → · Palette generator →

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