#3440C2#3440C2

#3440C2 is a mid, vivid blue. Relative luminance 0.083; OKLCH L 45.2% C 0.200 H 271.4°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#3440C2
RGBrgb(52, 64, 194)
HSLhsl(235, 58%, 48%)
HSVhsv(235, 73%, 76%)
CMYKcmyk(73.2%, 67%, 0%, 23.9%)
CIE-LABlab(34.58, 39.49, -69.07)
CIE-LCHlch(34.58, 79.56, 299.76°)
OKLaboklab(45.21% 0.005 -0.1997)
OKLCHoklch(45.21% 0.2 271.4)
XYZxyz(12.9839, 8.2906, 51.9444)
Luminance0.0829 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3440C2 #C2B634
analogous
#3487C2 #3440C2 #6F34C2
triadic
#3440C2 #C23440 #40C234
tetradic
#3440C2 #C23487 #C2B634 #34C26F
square
#3440C2 #C23487 #C2B634 #34C26F
split-complementary
#3440C2 #C26F34 #87C234
monochromatic
#1A2061 #273092 #3440C2 #5F69D4 #8F96E1

Accessibility & contrast

On white

7.90
#3440C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#3440C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3440C2
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3440C2#FFFFFF#000000##FFFFFF
##3440C21.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C6
Deuteranopia (green-blind)
#004BC0
Tritanopia (blue-blind)
#00637B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3440c2;
/* rgb */ color: rgb(52, 64, 194);
/* oklch */ color: oklch(45.2% 0.200 271.4);
Tailwind
colors: {
  custom: {
    50: '#8075d6',
    500: '#3440c2',
    950: '#000000',
  },
}
SCSS
$custom: #3440c2;
$custom-light: #8075d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3440c2",
  "rgb": {
    "r": 52,
    "g": 64,
    "b": 194
  },
  "hsl": {
    "h": 234.93,
    "s": 57.724,
    "l": 48.235
  },
  "oklch": {
    "l": 0.4521,
    "c": 0.1998,
    "h": 271.4
  },
  "luminance": 0.08292
}

Semantic roles & 50–950 ramp

primary
#3440C2
secondary
#CCC686
accent
#D447E1
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3440C2

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

Preview Lab → · Contrast checker → · Palette generator →

#3440C2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva