#3440A5#3440A5

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

Color values

HEX#3440A5
RGBrgb(52, 64, 165)
HSLhsl(234, 52%, 43%)
HSVhsv(234, 68%, 65%)
CMYKcmyk(68.5%, 61.2%, 0%, 35.3%)
CIE-LABlab(32.06, 29.19, -55.98)
CIE-LCHlch(32.06, 63.14, 297.53°)
OKLaboklab(42.59% 0.0066 -0.1614)
OKLCHoklch(42.59% 0.162 272.4)
XYZxyz(10.0388, 7.1125, 36.4338)
Luminance0.0711 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3440A5 #A59934
analogous
#3479A5 #3440A5 #6034A5
triadic
#3440A5 #A53440 #40A534
tetradic
#3440A5 #A53479 #A59934 #34A560
square
#3440A5 #A53479 #A59934 #34A560
split-complementary
#3440A5 #A56034 #79A534
monochromatic
#171C48 #252E76 #3440A5 #4F5CC7 #7D87D6

Accessibility & contrast

On white

8.67
#3440A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3440A5
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3440A5#FFFFFF#000000##FFFFFF
##3440A51.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A8
Deuteranopia (green-blind)
#0046A3
Tritanopia (blue-blind)
#00596C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3440a5;
/* rgb */ color: rgb(52, 64, 165);
/* oklch */ color: oklch(42.6% 0.162 272.4);
Tailwind
colors: {
  custom: {
    50: '#7a74c1',
    500: '#3440a5',
    950: '#000000',
  },
}
SCSS
$custom: #3440a5;
$custom-light: #7a74c1;
$custom-dark: #000000;
JSON
{
  "hex": "#3440a5",
  "rgb": {
    "r": 52,
    "g": 64,
    "b": 165
  },
  "hsl": {
    "h": 233.628,
    "s": 52.074,
    "l": 42.549
  },
  "oklch": {
    "l": 0.42587,
    "c": 0.16154,
    "h": 272.4
  },
  "luminance": 0.07113
}

Semantic roles & 50–950 ramp

primary
#3440A5
secondary
#BFB776
accent
#CC4CDC
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #3440A5

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

Preview Lab → · Contrast checker → · Palette generator →

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