#3B45D3#3B45D3

#3B45D3 is a mid, highly saturated blue. Relative luminance 0.099; OKLCH L 48.0% C 0.214 H 272.1°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#3B45D3
RGBrgb(59, 69, 211)
HSLhsl(236, 63%, 53%)
HSVhsv(236, 72%, 83%)
CMYKcmyk(72%, 67.3%, 0%, 17.3%)
CIE-LABlab(37.64, 43.05, -73.91)
CIE-LCHlch(37.64, 85.53, 300.22°)
OKLaboklab(48.01% 0.0078 -0.2137)
OKLCHoklch(48.01% 0.214 272.1)
XYZxyz(15.6857, 9.8876, 62.6972)
Luminance0.0989 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B45D3 #D3C93B
analogous
#3B91D3 #3B45D3 #7D3BD3
triadic
#3B45D3 #D33B45 #45D33B
tetradic
#3B45D3 #D33B91 #D3C93B #3BD37D
square
#3B45D3 #D33B91 #D3C93B #3BD37D
split-complementary
#3B45D3 #D37D3B #91D33B
monochromatic
#1B2179 #262FAB #3B45D3 #6D74DE #9FA4E9

Accessibility & contrast

On white

7.05
#3B45D3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#3B45D3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B45D3
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B45D3#FFFFFF#000000##FFFFFF
##3B45D31.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D7
Deuteranopia (green-blind)
#0051D0
Tritanopia (blue-blind)
#006B86
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3b45d3;
/* rgb */ color: rgb(59, 69, 211);
/* oklch */ color: oklch(48.0% 0.214 272.1);
Tailwind
colors: {
  custom: {
    50: '#8679e2',
    500: '#3b45d3',
    950: '#000000',
  },
}
SCSS
$custom: #3b45d3;
$custom-light: #8679e2;
$custom-dark: #000000;
JSON
{
  "hex": "#3b45d3",
  "rgb": {
    "r": 59,
    "g": 69,
    "b": 211
  },
  "hsl": {
    "h": 236.053,
    "s": 63.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.48005,
    "c": 0.21386,
    "h": 272.1
  },
  "luminance": 0.09889
}

Semantic roles & 50–950 ramp

primary
#3B45D3
secondary
#D6D194
accent
#DC41E6
background
#F9F7FE
surface
#F1EDFC
border
#CBC8D5
text
#0D0915
muted
#7E7B84

Preview Lab

Preview with #3B45D3

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

Preview Lab → · Contrast checker → · Palette generator →

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