#345790#345790

#345790 is a mid, moderate blue. Relative luminance 0.096; OKLCH L 45.9% C 0.102 H 259.7°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#345790
RGBrgb(52, 87, 144)
HSLhsl(217, 47%, 38%)
HSVhsv(217, 64%, 56%)
CMYKcmyk(63.9%, 39.6%, 0%, 43.5%)
CIE-LABlab(37.04, 6.29, -35.29)
CIE-LCHlch(37.04, 35.85, 280.11°)
OKLaboklab(45.91% -0.0182 -0.1003)
OKLCHoklch(45.91% 0.102 259.7)
XYZxyz(9.8566, 9.5592, 27.7058)
Luminance0.0956 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345790 #906D34
analogous
#348590 #345790 #3F3490
triadic
#345790 #903457 #579034
tetradic
#345790 #903485 #906D34 #34903F
square
#345790 #903485 #906D34 #34903F
split-complementary
#345790 #903F34 #859034
monochromatic
#142136 #243C63 #345790 #4572BC #7294CC

Accessibility & contrast

On white

7.21
#345790 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#345790 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #345790
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345790#FFFFFF#000000##FFFFFF
##3457901.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5C92
Deuteranopia (green-blind)
#31538F
Tritanopia (blue-blind)
#00646C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #345790;
/* rgb */ color: rgb(52, 87, 144);
/* oklch */ color: oklch(45.9% 0.102 259.7);
Tailwind
colors: {
  custom: {
    50: '#7586b1',
    500: '#345790',
    950: '#000000',
  },
}
SCSS
$custom: #345790;
$custom-light: #7586b1;
$custom-dark: #000000;
JSON
{
  "hex": "#345790",
  "rgb": {
    "r": 52,
    "g": 87,
    "b": 144
  },
  "hsl": {
    "h": 217.174,
    "s": 46.939,
    "l": 38.431
  },
  "oklch": {
    "l": 0.45907,
    "c": 0.10191,
    "h": 259.7
  },
  "luminance": 0.0956
}

Semantic roles & 50–950 ramp

primary
#345790
secondary
#B4996B
accent
#A451D7
background
#F7F8FA
surface
#EDEFF5
border
#C8CACF
text
#090B10
muted
#7B7C7F

Preview Lab

Preview with #345790

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

Preview Lab → · Contrast checker → · Palette generator →

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