#3D3FBE#3D3FBE

#3D3FBE is a mid, vivid blue. Relative luminance 0.083; OKLCH L 45.2% C 0.194 H 274.8°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#3D3FBE
RGBrgb(61, 63, 190)
HSLhsl(239, 51%, 49%)
HSVhsv(239, 68%, 75%)
CMYKcmyk(67.9%, 66.8%, 0%, 25.5%)
CIE-LABlab(34.53, 39.79, -66.79)
CIE-LCHlch(34.53, 77.74, 300.78°)
OKLaboklab(45.2% 0.016 -0.1929)
OKLCHoklch(45.2% 0.194 274.8)
XYZxyz(12.9932, 8.2636, 49.6155)
Luminance0.0827 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D3FBE #BEBC3D
analogous
#3D80BE #3D3FBE #7C3DBE
triadic
#3D3FBE #BE3D3F #3FBE3D
tetradic
#3D3FBE #BE3D80 #BEBC3D #3DBE7C
square
#3D3FBE #BE3D80 #BEBC3D #3DBE7C
split-complementary
#3D3FBE #BE7C3D #80BE3D
monochromatic
#1F2061 #2E3090 #3D3FBE #696BCF #9899DE

Accessibility & contrast

On white

7.92
#3D3FBE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#3D3FBE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D3FBE
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D3FBE#FFFFFF#000000##FFFFFF
##3D3FBE1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C2
Deuteranopia (green-blind)
#004BBC
Tritanopia (blue-blind)
#006179
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3d3fbe;
/* rgb */ color: rgb(61, 63, 190);
/* oklch */ color: oklch(45.2% 0.194 274.8);
Tailwind
colors: {
  custom: {
    50: '#8375d3',
    500: '#3d3fbe',
    950: '#000000',
  },
}
SCSS
$custom: #3d3fbe;
$custom-light: #8375d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3d3fbe",
  "rgb": {
    "r": 61,
    "g": 63,
    "b": 190
  },
  "hsl": {
    "h": 239.07,
    "s": 51.394,
    "l": 49.216
  },
  "oklch": {
    "l": 0.45202,
    "c": 0.19353,
    "h": 274.8
  },
  "luminance": 0.08265
}

Semantic roles & 50–950 ramp

primary
#3D3FBE
secondary
#C9C98D
accent
#D94DDB
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3D3FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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