#345481#345481

#345481 is a dark, moderate blue. Relative luminance 0.087; OKLCH L 44.3% C 0.084 H 257.1°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#345481
RGBrgb(52, 84, 129)
HSLhsl(215, 43%, 35%)
HSVhsv(215, 60%, 51%)
CMYKcmyk(59.7%, 34.9%, 0%, 49.4%)
CIE-LABlab(35.31, 2.84, -28.86)
CIE-LCHlch(35.31, 29.00, 275.62°)
OKLaboklab(44.29% -0.0187 -0.0815)
OKLCHoklch(44.29% 0.084 257.1)
XYZxyz(8.5476, 8.6550, 21.9848)
Luminance0.0866 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345481 #816134
analogous
#347A81 #345481 #3B3481
triadic
#345481 #813454 #548134
tetradic
#345481 #81347A #816134 #34813B
square
#345481 #81347A #816134 #34813B
split-complementary
#345481 #813B34 #7A8134
monochromatic
#111B2A #223855 #345481 #4670AD #6C90C4

Accessibility & contrast

On white

7.69
#345481 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#345481 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #345481
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345481#FFFFFF#000000##FFFFFF
##3454811.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415783
Deuteranopia (green-blind)
#375080
Tritanopia (blue-blind)
#005E64
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #345481;
/* rgb */ color: rgb(52, 84, 129);
/* oklch */ color: oklch(44.3% 0.084 257.1);
Tailwind
colors: {
  custom: {
    50: '#7283a6',
    500: '#345481',
    950: '#000000',
  },
}
SCSS
$custom: #345481;
$custom-light: #7283a6;
$custom-dark: #000000;
JSON
{
  "hex": "#345481",
  "rgb": {
    "r": 52,
    "g": 84,
    "b": 129
  },
  "hsl": {
    "h": 215.065,
    "s": 42.541,
    "l": 35.49
  },
  "oklch": {
    "l": 0.44294,
    "c": 0.08366,
    "h": 257.1
  },
  "luminance": 0.08656
}

Semantic roles & 50–950 ramp

primary
#345481
secondary
#AC8E65
accent
#9E55D2
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #345481

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

Preview Lab → · Contrast checker → · Palette generator →

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