#3440B1#3440B1

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

Color values

HEX#3440B1
RGBrgb(52, 64, 177)
HSLhsl(234, 55%, 45%)
HSVhsv(234, 71%, 69%)
CMYKcmyk(70.6%, 63.8%, 0%, 30.6%)
CIE-LABlab(33.07, 33.49, -61.51)
CIE-LCHlch(33.07, 70.04, 298.57°)
OKLaboklab(43.64% 0.0062 -0.1776)
OKLCHoklch(43.64% 0.178 272)
XYZxyz(11.1827, 7.5701, 42.4583)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3440B1 #B1A534
analogous
#347FB1 #3440B1 #6734B1
triadic
#3440B1 #B13440 #40B134
tetradic
#3440B1 #B1347F #B1A534 #34B167
square
#3440B1 #B1347F #B1A534 #34B167
split-complementary
#3440B1 #B16734 #7FB134
monochromatic
#181E52 #262F82 #3440B1 #5561CD #848DDB

Accessibility & contrast

On white

8.35
#3440B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#3440B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3440B1
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3440B1#FFFFFF#000000##FFFFFF
##3440B11.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B5
Deuteranopia (green-blind)
#0048AF
Tritanopia (blue-blind)
#005D72
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3440b1;
/* rgb */ color: rgb(52, 64, 177);
/* oklch */ color: oklch(43.6% 0.178 272.0);
Tailwind
colors: {
  custom: {
    50: '#7c75c9',
    500: '#3440b1',
    950: '#000000',
  },
}
SCSS
$custom: #3440b1;
$custom-light: #7c75c9;
$custom-dark: #000000;
JSON
{
  "hex": "#3440b1",
  "rgb": {
    "r": 52,
    "g": 64,
    "b": 177
  },
  "hsl": {
    "h": 234.24,
    "s": 54.585,
    "l": 44.902
  },
  "oklch": {
    "l": 0.43644,
    "c": 0.17773,
    "h": 272
  },
  "luminance": 0.07571
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3440B1

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

Preview Lab → · Contrast checker → · Palette generator →

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