#344795#344795

#344795 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.7% C 0.130 H 269.8°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#344795
RGBrgb(52, 71, 149)
HSLhsl(228, 48%, 39%)
HSVhsv(228, 65%, 58%)
CMYKcmyk(65.1%, 52.3%, 0%, 41.6%)
CIE-LABlab(32.71, 18.70, -45.25)
CIE-LCHlch(32.71, 48.96, 292.46°)
OKLaboklab(42.69% -0.0004 -0.1297)
OKLCHoklch(42.69% 0.13 269.8)
XYZxyz(9.0924, 7.4057, 29.3782)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#344795 #958234
analogous
#347895 #344795 #513495
triadic
#344795 #953447 #479534
tetradic
#344795 #953478 #958234 #349551
square
#344795 #953478 #958234 #349551
split-complementary
#344795 #955134 #789534
monochromatic
#141C3A #243168 #344795 #475FBF #7586CF

Accessibility & contrast

On white

8.46
#344795 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#344795 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #344795
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##344795#FFFFFF#000000##FFFFFF
##3447951.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195198
Deuteranopia (green-blind)
#004993
Tritanopia (blue-blind)
#005967
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #344795;
/* rgb */ color: rgb(52, 71, 149);
/* oklch */ color: oklch(42.7% 0.130 269.8);
Tailwind
colors: {
  custom: {
    50: '#7679b5',
    500: '#344795',
    950: '#000000',
  },
}
SCSS
$custom: #344795;
$custom-light: #7679b5;
$custom-dark: #000000;
JSON
{
  "hex": "#344795",
  "rgb": {
    "r": 52,
    "g": 71,
    "b": 149
  },
  "hsl": {
    "h": 228.247,
    "s": 48.259,
    "l": 39.412
  },
  "oklch": {
    "l": 0.42691,
    "c": 0.12974,
    "h": 269.8
  },
  "luminance": 0.07406
}

Semantic roles & 50–950 ramp

primary
#344795
secondary
#B7A96E
accent
#BD50D8
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #344795

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

Preview Lab → · Contrast checker → · Palette generator →

#344795 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva