#3B45DB#3B45DB

#3B45DB is a mid, highly saturated blue. Relative luminance 0.103; OKLCH L 48.8% C 0.224 H 271.8°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#3B45DB
RGBrgb(59, 69, 219)
HSLhsl(236, 69%, 55%)
HSVhsv(236, 73%, 86%)
CMYKcmyk(73.1%, 68.5%, 0%, 14.1%)
CIE-LABlab(38.37, 45.75, -77.30)
CIE-LCHlch(38.37, 89.83, 300.62°)
OKLaboklab(48.76% 0.0069 -0.2236)
OKLCHoklch(48.76% 0.224 271.8)
XYZxyz(16.7136, 10.2988, 68.1111)
Luminance0.1030 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B45DB #DBD13B
analogous
#3B95DB #3B45DB #813BDB
triadic
#3B45DB #DB3B45 #45DB3B
tetradic
#3B45DB #DB3B95 #DBD13B #3BDB81
square
#3B45DB #DB3B95 #DBD13B #3BDB81
split-complementary
#3B45DB #DB813B #95DB3B
monochromatic
#181F83 #222BB7 #3B45DB #6F76E4 #A2A7EE

Accessibility & contrast

On white

6.86
#3B45DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#3B45DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B45DB
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B45DB#FFFFFF#000000##FFFFFF
##3B45DB1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062E0
Deuteranopia (green-blind)
#0053D8
Tritanopia (blue-blind)
#006E8B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3b45db;
/* rgb */ color: rgb(59, 69, 219);
/* oklch */ color: oklch(48.8% 0.224 271.8);
Tailwind
colors: {
  custom: {
    50: '#8879e7',
    500: '#3b45db',
    950: '#000000',
  },
}
SCSS
$custom: #3b45db;
$custom-light: #8879e7;
$custom-dark: #000000;
JSON
{
  "hex": "#3b45db",
  "rgb": {
    "r": 59,
    "g": 69,
    "b": 219
  },
  "hsl": {
    "h": 236.25,
    "s": 68.966,
    "l": 54.51
  },
  "oklch": {
    "l": 0.48759,
    "c": 0.22374,
    "h": 271.8
  },
  "luminance": 0.10301
}

Semantic roles & 50–950 ramp

primary
#3B45DB
secondary
#DBD797
accent
#E13CEC
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0D0916
muted
#7E7B84

Preview Lab

Preview with #3B45DB

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

Preview Lab → · Contrast checker → · Palette generator →

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