#3442A2#3442A2

#3442A2 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.7% C 0.155 H 271.8°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#3442A2
RGBrgb(52, 66, 162)
HSLhsl(232, 51%, 42%)
HSVhsv(232, 68%, 64%)
CMYKcmyk(67.9%, 59.3%, 0%, 36.5%)
CIE-LABlab(32.33, 26.79, -53.74)
CIE-LCHlch(32.33, 60.04, 296.50°)
OKLaboklab(42.71% 0.005 -0.1548)
OKLCHoklch(42.71% 0.155 271.8)
XYZxyz(9.8838, 7.2342, 35.0509)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3442A2 #A29434
analogous
#3479A2 #3442A2 #5D34A2
triadic
#3442A2 #A23442 #42A234
tetradic
#3442A2 #A23479 #A29434 #34A25D
square
#3442A2 #A23479 #A29434 #34A25D
split-complementary
#3442A2 #A25D34 #79A234
monochromatic
#161C45 #252F74 #3442A2 #4D5DC6 #7C87D5

Accessibility & contrast

On white

8.58
#3442A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#3442A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3442A2
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3442A2#FFFFFF#000000##FFFFFF
##3442A21.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A5
Deuteranopia (green-blind)
#0047A0
Tritanopia (blue-blind)
#005A6B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3442a2;
/* rgb */ color: rgb(52, 66, 162);
/* oklch */ color: oklch(42.7% 0.155 271.8);
Tailwind
colors: {
  custom: {
    50: '#7976be',
    500: '#3442a2',
    950: '#000000',
  },
}
SCSS
$custom: #3442a2;
$custom-light: #7976be;
$custom-dark: #000000;
JSON
{
  "hex": "#3442a2",
  "rgb": {
    "r": 52,
    "g": 66,
    "b": 162
  },
  "hsl": {
    "h": 232.364,
    "s": 51.402,
    "l": 41.961
  },
  "oklch": {
    "l": 0.42714,
    "c": 0.15485,
    "h": 271.8
  },
  "luminance": 0.07235
}

Semantic roles & 50–950 ramp

primary
#3442A2
secondary
#BEB474
accent
#C94DDB
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #3442A2

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

Preview Lab → · Contrast checker → · Palette generator →

#3442A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva