#345283#345283

#345283 is a dark, moderate blue. Relative luminance 0.084; OKLCH L 43.9% C 0.089 H 259.8°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#345283
RGBrgb(52, 82, 131)
HSLhsl(217, 43%, 36%)
HSVhsv(217, 60%, 51%)
CMYKcmyk(60.3%, 37.4%, 0%, 48.6%)
CIE-LABlab(34.81, 4.85, -30.89)
CIE-LCHlch(34.81, 31.27, 278.92°)
OKLaboklab(43.94% -0.0158 -0.0875)
OKLCHoklch(43.94% 0.089 259.8)
XYZxyz(8.5288, 8.4026, 22.6407)
Luminance0.0840 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345283 #836534
analogous
#347983 #345283 #3D3483
triadic
#345283 #833452 #528334
tetradic
#345283 #833479 #836534 #34833D
square
#345283 #833479 #836534 #34833D
split-complementary
#345283 #833D34 #798334
monochromatic
#111B2B #233757 #345283 #456DAF #6D8EC5

Accessibility & contrast

On white

7.83
#345283 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#345283 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #345283
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345283#FFFFFF#000000##FFFFFF
##3452831.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5685
Deuteranopia (green-blind)
#334E82
Tritanopia (blue-blind)
#005D64
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #345283;
/* rgb */ color: rgb(52, 82, 131);
/* oklch */ color: oklch(43.9% 0.089 259.8);
Tailwind
colors: {
  custom: {
    50: '#7282a7',
    500: '#345283',
    950: '#000000',
  },
}
SCSS
$custom: #345283;
$custom-light: #7282a7;
$custom-dark: #000000;
JSON
{
  "hex": "#345283",
  "rgb": {
    "r": 52,
    "g": 82,
    "b": 131
  },
  "hsl": {
    "h": 217.215,
    "s": 43.169,
    "l": 35.882
  },
  "oklch": {
    "l": 0.43937,
    "c": 0.08887,
    "h": 259.8
  },
  "luminance": 0.08403
}

Semantic roles & 50–950 ramp

primary
#345283
secondary
#AD9266
accent
#A355D3
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #345283

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

Preview Lab → · Contrast checker → · Palette generator →

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