#344AA6#344AA6

#344AA6 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.6% C 0.150 H 269.3°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#344AA6
RGBrgb(52, 74, 166)
HSLhsl(228, 52%, 43%)
HSVhsv(228, 69%, 65%)
CMYKcmyk(68.7%, 55.4%, 0%, 34.9%)
CIE-LABlab(34.76, 22.97, -52.20)
CIE-LCHlch(34.76, 57.03, 293.75°)
OKLaboklab(44.63% -0.0019 -0.1501)
OKLCHoklch(44.63% 0.15 269.3)
XYZxyz(10.7455, 8.3798, 37.1202)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#344AA6 #A69034
analogous
#3483A6 #344AA6 #5734A6
triadic
#344AA6 #A6344A #4AA634
tetradic
#344AA6 #A63483 #A69034 #34A657
square
#344AA6 #A63483 #A69034 #34A657
split-complementary
#344AA6 #A65734 #83A634
monochromatic
#172049 #253577 #344AA6 #4F67C8 #7E8FD7

Accessibility & contrast

On white

7.85
#344AA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#344AA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #344AA6
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##344AA6#FFFFFF#000000##FFFFFF
##344AA61.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057A9
Deuteranopia (green-blind)
#004DA4
Tritanopia (blue-blind)
#006070
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #344aa6;
/* rgb */ color: rgb(52, 74, 166);
/* oklch */ color: oklch(44.6% 0.150 269.3);
Tailwind
colors: {
  custom: {
    50: '#797cc1',
    500: '#344aa6',
    950: '#000000',
  },
}
SCSS
$custom: #344aa6;
$custom-light: #797cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#344aa6",
  "rgb": {
    "r": 52,
    "g": 74,
    "b": 166
  },
  "hsl": {
    "h": 228.421,
    "s": 52.294,
    "l": 42.745
  },
  "oklch": {
    "l": 0.44625,
    "c": 0.15015,
    "h": 269.3
  },
  "luminance": 0.08381
}

Semantic roles & 50–950 ramp

primary
#344AA6
secondary
#C0B176
accent
#C04CDC
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #344AA6

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

Preview Lab → · Contrast checker → · Palette generator →

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