#3440A4#3440A4

#3440A4 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.5% C 0.160 H 272.4°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#3440A4
RGBrgb(52, 64, 164)
HSLhsl(234, 52%, 42%)
HSVhsv(234, 68%, 64%)
CMYKcmyk(68.3%, 61%, 0%, 35.7%)
CIE-LABlab(31.98, 28.82, -55.52)
CIE-LCHlch(31.98, 62.55, 297.44°)
OKLaboklab(42.5% 0.0067 -0.16)
OKLCHoklch(42.5% 0.16 272.4)
XYZxyz(9.9482, 7.0763, 35.9564)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3440A4 #A49834
analogous
#3478A4 #3440A4 #6034A4
triadic
#3440A4 #A43440 #40A434
tetradic
#3440A4 #A43478 #A49834 #34A460
square
#3440A4 #A43478 #A49834 #34A460
split-complementary
#3440A4 #A46034 #78A434
monochromatic
#171C47 #252E76 #3440A4 #4E5BC7 #7D86D6

Accessibility & contrast

On white

8.69
#3440A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#3440A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3440A4
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3440A4#FFFFFF#000000##FFFFFF
##3440A41.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A7
Deuteranopia (green-blind)
#0046A2
Tritanopia (blue-blind)
#00596B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3440a4;
/* rgb */ color: rgb(52, 64, 164);
/* oklch */ color: oklch(42.5% 0.160 272.4);
Tailwind
colors: {
  custom: {
    50: '#7a74c0',
    500: '#3440a4',
    950: '#000000',
  },
}
SCSS
$custom: #3440a4;
$custom-light: #7a74c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3440a4",
  "rgb": {
    "r": 52,
    "g": 64,
    "b": 164
  },
  "hsl": {
    "h": 233.571,
    "s": 51.852,
    "l": 42.353
  },
  "oklch": {
    "l": 0.42501,
    "c": 0.16017,
    "h": 272.4
  },
  "luminance": 0.07077
}

Semantic roles & 50–950 ramp

primary
#3440A4
secondary
#BFB775
accent
#CC4CDB
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #3440A4

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

Preview Lab → · Contrast checker → · Palette generator →

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