#3440A2#3440A2

#3440A2 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.3% C 0.157 H 272.4°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#3440A2
RGBrgb(52, 64, 162)
HSLhsl(233, 51%, 42%)
HSVhsv(233, 68%, 64%)
CMYKcmyk(67.9%, 60.5%, 0%, 36.5%)
CIE-LABlab(31.82, 28.10, -54.58)
CIE-LCHlch(31.82, 61.39, 297.24°)
OKLaboklab(42.33% 0.0067 -0.1573)
OKLCHoklch(42.33% 0.157 272.4)
XYZxyz(9.7690, 7.0046, 35.0126)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3440A2 #A29634
analogous
#3477A2 #3440A2 #5F34A2
triadic
#3440A2 #A23440 #40A234
tetradic
#3440A2 #A23477 #A29634 #34A25F
square
#3440A2 #A23477 #A29634 #34A25F
split-complementary
#3440A2 #A25F34 #77A234
monochromatic
#161B45 #252E74 #3440A2 #4D5AC6 #7C85D5

Accessibility & contrast

On white

8.75
#3440A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#3440A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3440A2
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3440A2#FFFFFF#000000##FFFFFF
##3440A21.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A5
Deuteranopia (green-blind)
#0046A0
Tritanopia (blue-blind)
#00586A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3440a2;
/* rgb */ color: rgb(52, 64, 162);
/* oklch */ color: oklch(42.3% 0.157 272.4);
Tailwind
colors: {
  custom: {
    50: '#7974be',
    500: '#3440a2',
    950: '#000000',
  },
}
SCSS
$custom: #3440a2;
$custom-light: #7974be;
$custom-dark: #000000;
JSON
{
  "hex": "#3440a2",
  "rgb": {
    "r": 52,
    "g": 64,
    "b": 162
  },
  "hsl": {
    "h": 233.455,
    "s": 51.402,
    "l": 41.961
  },
  "oklch": {
    "l": 0.4233,
    "c": 0.15741,
    "h": 272.4
  },
  "luminance": 0.07005
}

Semantic roles & 50–950 ramp

primary
#3440A2
secondary
#BEB674
accent
#CB4DDB
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #3440A2

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

Preview Lab → · Contrast checker → · Palette generator →

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