#3238B8#3238B8

#3238B8 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.8% C 0.196 H 272.5°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#3238B8
RGBrgb(50, 56, 184)
HSLhsl(237, 57%, 46%)
HSVhsv(237, 73%, 72%)
CMYKcmyk(72.8%, 69.6%, 0%, 27.8%)
CIE-LABlab(31.73, 40.69, -67.87)
CIE-LCHlch(31.73, 79.13, 300.95°)
OKLaboklab(42.83% 0.0085 -0.1963)
OKLCHoklch(42.83% 0.196 272.5)
XYZxyz(11.3784, 6.9660, 46.0830)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3238B8 #B8B232
analogous
#327BB8 #3238B8 #6F32B8
triadic
#3238B8 #B83238 #38B832
tetradic
#3238B8 #B8327B #B8B232 #32B86F
square
#3238B8 #B8327B #B8B232 #32B86F
split-complementary
#3238B8 #B86F32 #7BB832
monochromatic
#181B58 #252988 #3238B8 #565CD1 #868ADE

Accessibility & contrast

On white

8.77
#3238B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#3238B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3238B8
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3238B8#FFFFFF#000000##FFFFFF
##3238B81.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BC
Deuteranopia (green-blind)
#0044B6
Tritanopia (blue-blind)
#005B74
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3238b8;
/* rgb */ color: rgb(50, 56, 184);
/* oklch */ color: oklch(42.8% 0.196 272.5);
Tailwind
colors: {
  custom: {
    50: '#7e6fce',
    500: '#3238b8',
    950: '#000000',
  },
}
SCSS
$custom: #3238b8;
$custom-light: #7e6fce;
$custom-dark: #000000;
JSON
{
  "hex": "#3238b8",
  "rgb": {
    "r": 50,
    "g": 56,
    "b": 184
  },
  "hsl": {
    "h": 237.313,
    "s": 57.265,
    "l": 45.882
  },
  "oklch": {
    "l": 0.42832,
    "c": 0.19649,
    "h": 272.5
  },
  "luminance": 0.06967
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3238B8

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

Preview Lab → · Contrast checker → · Palette generator →

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