#3B45CC#3B45CC

#3B45CC is a mid, highly saturated blue. Relative luminance 0.095; OKLCH L 47.4% C 0.205 H 272.4°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#3B45CC
RGBrgb(59, 69, 204)
HSLhsl(236, 59%, 52%)
HSVhsv(236, 71%, 80%)
CMYKcmyk(71.1%, 66.2%, 0%, 20%)
CIE-LABlab(37.01, 40.66, -70.89)
CIE-LCHlch(37.01, 81.72, 299.84°)
OKLaboklab(47.36% 0.0084 -0.2049)
OKLCHoklch(47.36% 0.205 272.4)
XYZxyz(14.8272, 9.5442, 58.1758)
Luminance0.0955 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B45CC #CCC23B
analogous
#3B8ECC #3B45CC #7A3BCC
triadic
#3B45CC #CC3B45 #45CC3B
tetradic
#3B45CC #CC3B8E #CCC23B #3BCC7A
square
#3B45CC #CC3B8E #CCC23B #3BCC7A
split-complementary
#3B45CC #CC7A3B #8ECC3B
monochromatic
#1D2370 #2A32A0 #3B45CC #6C73D9 #9CA1E5

Accessibility & contrast

On white

7.22
#3B45CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#3B45CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B45CC
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B45CC#FFFFFF#000000##FFFFFF
##3B45CC1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED0
Deuteranopia (green-blind)
#0050C9
Tritanopia (blue-blind)
#006982
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3b45cc;
/* rgb */ color: rgb(59, 69, 204);
/* oklch */ color: oklch(47.4% 0.205 272.4);
Tailwind
colors: {
  custom: {
    50: '#8579dd',
    500: '#3b45cc',
    950: '#000000',
  },
}
SCSS
$custom: #3b45cc;
$custom-light: #8579dd;
$custom-dark: #000000;
JSON
{
  "hex": "#3b45cc",
  "rgb": {
    "r": 59,
    "g": 69,
    "b": 204
  },
  "hsl": {
    "h": 235.862,
    "s": 58.704,
    "l": 51.569
  },
  "oklch": {
    "l": 0.47357,
    "c": 0.20506,
    "h": 272.4
  },
  "luminance": 0.09546
}

Semantic roles & 50–950 ramp

primary
#3B45CC
secondary
#D1CD92
accent
#D746E2
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0D0915
muted
#7D7B83

Preview Lab

Preview with #3B45CC

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

Preview Lab → · Contrast checker → · Palette generator →

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