#344FB4#344FB4

#344FB4 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.7% C 0.163 H 268.1°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#344FB4
RGBrgb(52, 79, 180)
HSLhsl(227, 55%, 45%)
HSVhsv(227, 71%, 71%)
CMYKcmyk(71.1%, 56.1%, 0%, 29.4%)
CIE-LABlab(37.14, 24.84, -56.65)
CIE-LCHlch(37.14, 61.86, 293.68°)
OKLaboklab(46.75% -0.0054 -0.1632)
OKLCHoklch(46.75% 0.163 268.1)
XYZxyz(12.4475, 9.6161, 44.3713)
Luminance0.0962 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#344FB4 #B49934
analogous
#348FB4 #344FB4 #5934B4
triadic
#344FB4 #B4344F #4FB434
tetradic
#344FB4 #B4348F #B49934 #34B459
square
#344FB4 #B4348F #B49934 #34B459
split-complementary
#344FB4 #B45934 #8FB434
monochromatic
#192555 #263A85 #344FB4 #5770CE #8698DC

Accessibility & contrast

On white

7.18
#344FB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#344FB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #344FB4
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##344FB4#FFFFFF#000000##FFFFFF
##344FB41.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB7
Deuteranopia (green-blind)
#0052B2
Tritanopia (blue-blind)
#00687A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #344fb4;
/* rgb */ color: rgb(52, 79, 180);
/* oklch */ color: oklch(46.7% 0.163 268.1);
Tailwind
colors: {
  custom: {
    50: '#7c7fcb',
    500: '#344fb4',
    950: '#000000',
  },
}
SCSS
$custom: #344fb4;
$custom-light: #7c7fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#344fb4",
  "rgb": {
    "r": 52,
    "g": 79,
    "b": 180
  },
  "hsl": {
    "h": 227.344,
    "s": 55.172,
    "l": 45.49
  },
  "oklch": {
    "l": 0.46745,
    "c": 0.16326,
    "h": 268.1
  },
  "luminance": 0.09617
}

Semantic roles & 50–950 ramp

primary
#344FB4
secondary
#C6B77E
accent
#BF49DF
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #344FB4

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

Preview Lab → · Contrast checker → · Palette generator →

#344FB4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva