#3D509A#3D509A

#3D509A is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.5% C 0.122 H 270.1°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#3D509A
RGBrgb(61, 80, 154)
HSLhsl(228, 43%, 42%)
HSVhsv(228, 60%, 60%)
CMYKcmyk(60.4%, 48.1%, 0%, 39.6%)
CIE-LABlab(36.10, 16.27, -42.80)
CIE-LCHlch(36.10, 45.79, 290.82°)
OKLaboklab(45.51% 0.0003 -0.1222)
OKLCHoklch(45.51% 0.122 270.1)
XYZxyz(10.6239, 9.0617, 31.7548)
Luminance0.0906 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D509A #9A873D
analogous
#3D7F9A #3D509A #593D9A
triadic
#3D509A #9A3D50 #509A3D
tetradic
#3D509A #9A3D7F #9A873D #3D9A59
square
#3D509A #9A3D7F #9A873D #3D9A59
split-complementary
#3D509A #9A593D #7F9A3D
monochromatic
#1A2242 #2C396E #3D509A #586CBD #8393CE

Accessibility & contrast

On white

7.47
#3D509A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#3D509A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D509A
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D509A#FFFFFF#000000##FFFFFF
##3D509A1.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C599D
Deuteranopia (green-blind)
#1D5198
Tritanopia (blue-blind)
#00616D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3d509a;
/* rgb */ color: rgb(61, 80, 154);
/* oklch */ color: oklch(45.5% 0.122 270.1);
Tailwind
colors: {
  custom: {
    50: '#7b80b8',
    500: '#3d509a',
    950: '#000000',
  },
}
SCSS
$custom: #3d509a;
$custom-light: #7b80b8;
$custom-dark: #000000;
JSON
{
  "hex": "#3d509a",
  "rgb": {
    "r": 61,
    "g": 80,
    "b": 154
  },
  "hsl": {
    "h": 227.742,
    "s": 43.256,
    "l": 42.157
  },
  "oklch": {
    "l": 0.45514,
    "c": 0.12221,
    "h": 270.1
  },
  "luminance": 0.09063
}

Semantic roles & 50–950 ramp

primary
#3D509A
secondary
#B8AC7B
accent
#B955D3
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A11
muted
#7C7C80

Preview Lab

Preview with #3D509A

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

Preview Lab → · Contrast checker → · Palette generator →

#3D509A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva