#3440B2#3440B2

#3440B2 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.7% C 0.179 H 272.0°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#3440B2
RGBrgb(52, 64, 178)
HSLhsl(234, 55%, 45%)
HSVhsv(234, 71%, 70%)
CMYKcmyk(70.8%, 64%, 0%, 30.2%)
CIE-LABlab(33.16, 33.85, -61.96)
CIE-LCHlch(33.16, 70.61, 298.64°)
OKLaboklab(43.73% 0.0061 -0.1789)
OKLCHoklch(43.73% 0.179 272)
XYZxyz(11.2827, 7.6101, 42.9851)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3440B2 #B2A634
analogous
#347FB2 #3440B2 #6734B2
triadic
#3440B2 #B23440 #40B234
tetradic
#3440B2 #B2347F #B2A634 #34B267
square
#3440B2 #B2347F #B2A634 #34B267
split-complementary
#3440B2 #B26734 #7FB234
monochromatic
#181E53 #262F83 #3440B2 #5661CE #858DDB

Accessibility & contrast

On white

8.33
#3440B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#3440B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3440B2
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3440B2#FFFFFF#000000##FFFFFF
##3440B21.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B6
Deuteranopia (green-blind)
#0048B0
Tritanopia (blue-blind)
#005E73
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3440b2;
/* rgb */ color: rgb(52, 64, 178);
/* oklch */ color: oklch(43.7% 0.179 272.0);
Tailwind
colors: {
  custom: {
    50: '#7d75ca',
    500: '#3440b2',
    950: '#000000',
  },
}
SCSS
$custom: #3440b2;
$custom-light: #7d75ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3440b2",
  "rgb": {
    "r": 52,
    "g": 64,
    "b": 178
  },
  "hsl": {
    "h": 234.286,
    "s": 54.783,
    "l": 45.098
  },
  "oklch": {
    "l": 0.43734,
    "c": 0.17905,
    "h": 272
  },
  "luminance": 0.07611
}

Semantic roles & 50–950 ramp

primary
#3440B2
secondary
#C5BE7D
accent
#D04ADE
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3440B2

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

Preview Lab → · Contrast checker → · Palette generator →

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