#344FA2#344FA2

#344FA2 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.4% C 0.138 H 267.2°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#344FA2
RGBrgb(52, 79, 162)
HSLhsl(225, 51%, 42%)
HSVhsv(225, 68%, 64%)
CMYKcmyk(67.9%, 51.2%, 0%, 36.5%)
CIE-LABlab(35.85, 18.18, -48.04)
CIE-LCHlch(35.85, 51.37, 290.73°)
OKLaboklab(45.36% -0.0068 -0.1378)
OKLCHoklch(45.36% 0.138 267.2)
XYZxyz(10.7315, 8.9296, 35.3335)
Luminance0.0893 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#344FA2 #A28734
analogous
#3486A2 #344FA2 #5034A2
triadic
#344FA2 #A2344F #4FA234
tetradic
#344FA2 #A23486 #A28734 #34A250
square
#344FA2 #A23486 #A28734 #34A250
split-complementary
#344FA2 #A25034 #86A234
monochromatic
#162245 #253874 #344FA2 #4D6BC6 #7C91D5

Accessibility & contrast

On white

7.54
#344FA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#344FA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #344FA2
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##344FA2#FFFFFF#000000##FFFFFF
##344FA21.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5AA5
Deuteranopia (green-blind)
#0050A0
Tritanopia (blue-blind)
#006271
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #344fa2;
/* rgb */ color: rgb(52, 79, 162);
/* oklch */ color: oklch(45.4% 0.138 267.2);
Tailwind
colors: {
  custom: {
    50: '#787fbe',
    500: '#344fa2',
    950: '#000000',
  },
}
SCSS
$custom: #344fa2;
$custom-light: #787fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#344fa2",
  "rgb": {
    "r": 52,
    "g": 79,
    "b": 162
  },
  "hsl": {
    "h": 225.273,
    "s": 51.402,
    "l": 41.961
  },
  "oklch": {
    "l": 0.45356,
    "c": 0.13802,
    "h": 267.2
  },
  "luminance": 0.08931
}

Semantic roles & 50–950 ramp

primary
#344FA2
secondary
#BEAC74
accent
#B84DDB
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #344FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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