#344CA1#344CA1

#344CA1 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.6% C 0.140 H 268.3°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#344CA1
RGBrgb(52, 76, 161)
HSLhsl(227, 51%, 42%)
HSVhsv(227, 68%, 63%)
CMYKcmyk(67.7%, 52.8%, 0%, 36.9%)
CIE-LABlab(34.95, 19.80, -48.90)
CIE-LCHlch(34.95, 52.76, 292.04°)
OKLaboklab(44.65% -0.0041 -0.1404)
OKLCHoklch(44.65% 0.14 268.3)
XYZxyz(10.4314, 8.4712, 34.7967)
Luminance0.0847 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#344CA1 #A18934
analogous
#3483A1 #344CA1 #5334A1
triadic
#344CA1 #A1344C #4CA134
tetradic
#344CA1 #A13483 #A18934 #34A153
square
#344CA1 #A13483 #A18934 #34A153
split-complementary
#344CA1 #A15334 #83A134
monochromatic
#162044 #253673 #344CA1 #4D67C5 #7B8FD4

Accessibility & contrast

On white

7.79
#344CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#344CA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #344CA1
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##344CA1#FFFFFF#000000##FFFFFF
##344CA11.007.792.697.79
#FFFFFF7.791.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1657A4
Deuteranopia (green-blind)
#004D9F
Tritanopia (blue-blind)
#00606F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #344ca1;
/* rgb */ color: rgb(52, 76, 161);
/* oklch */ color: oklch(44.6% 0.140 268.3);
Tailwind
colors: {
  custom: {
    50: '#787dbd',
    500: '#344ca1',
    950: '#000000',
  },
}
SCSS
$custom: #344ca1;
$custom-light: #787dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#344ca1",
  "rgb": {
    "r": 52,
    "g": 76,
    "b": 161
  },
  "hsl": {
    "h": 226.789,
    "s": 51.174,
    "l": 41.765
  },
  "oklch": {
    "l": 0.44649,
    "c": 0.14048,
    "h": 268.3
  },
  "luminance": 0.08472
}

Semantic roles & 50–950 ramp

primary
#344CA1
secondary
#BDAD74
accent
#BB4DDB
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #344CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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