#345290#345290

#345290 is a dark, moderate blue. Relative luminance 0.088; OKLCH L 44.8% C 0.108 H 263.2°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#345290
RGBrgb(52, 82, 144)
HSLhsl(220, 47%, 38%)
HSVhsv(220, 64%, 56%)
CMYKcmyk(63.9%, 43.1%, 0%, 43.5%)
CIE-LABlab(35.55, 9.55, -37.65)
CIE-LCHlch(35.55, 38.85, 284.24°)
OKLaboklab(44.76% -0.0127 -0.1073)
OKLCHoklch(44.76% 0.108 263.2)
XYZxyz(9.4658, 8.7774, 27.5755)
Luminance0.0878 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345290 #907234
analogous
#348090 #345290 #443490
triadic
#345290 #903452 #529034
tetradic
#345290 #903480 #907234 #349044
square
#345290 #903480 #907234 #349044
split-complementary
#345290 #904434 #809034
monochromatic
#141F36 #243863 #345290 #456CBC #7290CC

Accessibility & contrast

On white

7.62
#345290 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#345290 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #345290
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345290#FFFFFF#000000##FFFFFF
##3452901.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365892
Deuteranopia (green-blind)
#28508F
Tritanopia (blue-blind)
#00606A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #345290;
/* rgb */ color: rgb(52, 82, 144);
/* oklch */ color: oklch(44.8% 0.108 263.2);
Tailwind
colors: {
  custom: {
    50: '#7582b1',
    500: '#345290',
    950: '#000000',
  },
}
SCSS
$custom: #345290;
$custom-light: #7582b1;
$custom-dark: #000000;
JSON
{
  "hex": "#345290",
  "rgb": {
    "r": 52,
    "g": 82,
    "b": 144
  },
  "hsl": {
    "h": 220.435,
    "s": 46.939,
    "l": 38.431
  },
  "oklch": {
    "l": 0.44756,
    "c": 0.10802,
    "h": 263.2
  },
  "luminance": 0.08778
}

Semantic roles & 50–950 ramp

primary
#345290
secondary
#B49D6B
accent
#AB51D7
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #345290

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

Preview Lab → · Contrast checker → · Palette generator →

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