#3242AF#3242AF

#3242AF is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.7% C 0.173 H 270.9°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#3242AF
RGBrgb(50, 66, 175)
HSLhsl(232, 56%, 44%)
HSVhsv(232, 71%, 69%)
CMYKcmyk(71.4%, 62.3%, 0%, 31.4%)
CIE-LABlab(33.28, 31.23, -59.98)
CIE-LCHlch(33.28, 67.62, 297.50°)
OKLaboklab(43.72% 0.0027 -0.1732)
OKLCHoklch(43.72% 0.173 270.9)
XYZxyz(10.9988, 7.6686, 41.4497)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3242AF #AF9F32
analogous
#3281AF #3242AF #6132AF
triadic
#3242AF #AF3242 #42AF32
tetradic
#3242AF #AF3281 #AF9F32 #32AF61
square
#3242AF #AF3281 #AF9F32 #32AF61
split-complementary
#3242AF #AF6132 #81AF32
monochromatic
#171E50 #24307F #3242AF #5161CD #818CDB

Accessibility & contrast

On white

8.29
#3242AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#3242AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3242AF
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3242AF#FFFFFF#000000##FFFFFF
##3242AF1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B3
Deuteranopia (green-blind)
#0049AD
Tritanopia (blue-blind)
#005E72
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3242af;
/* rgb */ color: rgb(50, 66, 175);
/* oklch */ color: oklch(43.7% 0.173 270.9);
Tailwind
colors: {
  custom: {
    50: '#7b76c8',
    500: '#3242af',
    950: '#000000',
  },
}
SCSS
$custom: #3242af;
$custom-light: #7b76c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3242af",
  "rgb": {
    "r": 50,
    "g": 66,
    "b": 175
  },
  "hsl": {
    "h": 232.32,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.43718,
    "c": 0.17318,
    "h": 270.9
  },
  "luminance": 0.0767
}

Semantic roles & 50–950 ramp

primary
#3242AF
secondary
#C4BA79
accent
#CC49DF
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3242AF

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

Preview Lab → · Contrast checker → · Palette generator →

#3242AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva