#3440A7#3440A7

#3440A7 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.8% C 0.164 H 272.3°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#3440A7
RGBrgb(52, 64, 167)
HSLhsl(234, 53%, 43%)
HSVhsv(234, 69%, 65%)
CMYKcmyk(68.9%, 61.7%, 0%, 34.5%)
CIE-LABlab(32.23, 29.91, -56.92)
CIE-LCHlch(32.23, 64.30, 297.72°)
OKLaboklab(42.76% 0.0066 -0.1641)
OKLCHoklch(42.76% 0.164 272.3)
XYZxyz(10.2223, 7.1859, 37.4000)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3440A7 #A79B34
analogous
#3479A7 #3440A7 #6134A7
triadic
#3440A7 #A73440 #40A734
tetradic
#3440A7 #A73479 #A79B34 #34A761
square
#3440A7 #A73479 #A79B34 #34A761
split-complementary
#3440A7 #A76134 #79A734
monochromatic
#171C4A #252E78 #3440A7 #505CC8 #7E88D7

Accessibility & contrast

On white

8.62
#3440A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#3440A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3440A7
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3440A7#FFFFFF#000000##FFFFFF
##3440A71.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3440a7;
/* rgb */ color: rgb(52, 64, 167);
/* oklch */ color: oklch(42.8% 0.164 272.3);
Tailwind
colors: {
  custom: {
    50: '#7a74c2',
    500: '#3440a7',
    950: '#000000',
  },
}
SCSS
$custom: #3440a7;
$custom-light: #7a74c2;
$custom-dark: #000000;
JSON
{
  "hex": "#3440a7",
  "rgb": {
    "r": 52,
    "g": 64,
    "b": 167
  },
  "hsl": {
    "h": 233.739,
    "s": 52.511,
    "l": 42.941
  },
  "oklch": {
    "l": 0.4276,
    "c": 0.16427,
    "h": 272.3
  },
  "luminance": 0.07187
}

Semantic roles & 50–950 ramp

primary
#3440A7
secondary
#C0B877
accent
#CD4CDC
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #3440A7

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

Preview Lab → · Contrast checker → · Palette generator →

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