#3440B8#3440B8

#3440B8 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.3% C 0.187 H 271.8°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#3440B8
RGBrgb(52, 64, 184)
HSLhsl(235, 56%, 46%)
HSVhsv(235, 72%, 72%)
CMYKcmyk(71.7%, 65.2%, 0%, 27.8%)
CIE-LABlab(33.68, 35.98, -64.66)
CIE-LCHlch(33.68, 73.99, 299.09°)
OKLaboklab(44.28% 0.0058 -0.1868)
OKLCHoklch(44.28% 0.187 271.8)
XYZxyz(11.8984, 7.8564, 46.2275)
Luminance0.0786 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3440B8 #B8AC34
analogous
#3482B8 #3440B8 #6A34B8
triadic
#3440B8 #B83440 #40B834
tetradic
#3440B8 #B83482 #B8AC34 #34B86A
square
#3440B8 #B83482 #B8AC34 #34B86A
split-complementary
#3440B8 #B86A34 #82B834
monochromatic
#191F59 #272F88 #3440B8 #5964D0 #8991DE

Accessibility & contrast

On white

8.17
#3440B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#3440B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3440B8
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3440B8#FFFFFF#000000##FFFFFF
##3440B81.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BC
Deuteranopia (green-blind)
#0049B6
Tritanopia (blue-blind)
#006076
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3440b8;
/* rgb */ color: rgb(52, 64, 184);
/* oklch */ color: oklch(44.3% 0.187 271.8);
Tailwind
colors: {
  custom: {
    50: '#7e75ce',
    500: '#3440b8',
    950: '#000000',
  },
}
SCSS
$custom: #3440b8;
$custom-light: #7e75ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3440b8",
  "rgb": {
    "r": 52,
    "g": 64,
    "b": 184
  },
  "hsl": {
    "h": 234.545,
    "s": 55.932,
    "l": 46.275
  },
  "oklch": {
    "l": 0.4428,
    "c": 0.18693,
    "h": 271.8
  },
  "luminance": 0.07858
}

Semantic roles & 50–950 ramp

primary
#3440B8
secondary
#C8C180
accent
#D249DF
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #3440B8

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

Preview Lab → · Contrast checker → · Palette generator →

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