#3A45DD#3A45DD

#3A45DD is a mid, highly saturated blue. Relative luminance 0.104; OKLCH L 48.9% C 0.226 H 271.4°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#3A45DD
RGBrgb(58, 69, 221)
HSLhsl(236, 71%, 55%)
HSVhsv(236, 74%, 87%)
CMYKcmyk(73.8%, 68.8%, 0%, 13.3%)
CIE-LABlab(38.51, 46.33, -78.23)
CIE-LCHlch(38.51, 90.92, 300.63°)
OKLaboklab(48.9% 0.0056 -0.2264)
OKLCHoklch(48.9% 0.226 271.4)
XYZxyz(16.9198, 10.3745, 69.5034)
Luminance0.1038 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A45DD #DDD23A
analogous
#3A97DD #3A45DD #813ADD
triadic
#3A45DD #DD3A45 #45DD3A
tetradic
#3A45DD #DD3A97 #DDD23A #3ADD81
square
#3A45DD #DD3A97 #DDD23A #3ADD81
split-complementary
#3A45DD #DD813A #97DD3A
monochromatic
#171F86 #202ABA #3A45DD #6E76E6 #A2A8EF

Accessibility & contrast

On white

6.83
#3A45DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#3A45DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A45DD
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A45DD#FFFFFF#000000##FFFFFF
##3A45DD1.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062E2
Deuteranopia (green-blind)
#0053DA
Tritanopia (blue-blind)
#006F8C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3a45dd;
/* rgb */ color: rgb(58, 69, 221);
/* oklch */ color: oklch(48.9% 0.226 271.4);
Tailwind
colors: {
  custom: {
    50: '#8879e9',
    500: '#3a45dd',
    950: '#000000',
  },
}
SCSS
$custom: #3a45dd;
$custom-light: #8879e9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a45dd",
  "rgb": {
    "r": 58,
    "g": 69,
    "b": 221
  },
  "hsl": {
    "h": 235.951,
    "s": 70.563,
    "l": 54.706
  },
  "oklch": {
    "l": 0.48896,
    "c": 0.22643,
    "h": 271.4
  },
  "luminance": 0.10376
}

Semantic roles & 50–950 ramp

primary
#3A45DD
secondary
#DCD797
accent
#E13AED
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0D0916
muted
#7E7B84

Preview Lab

Preview with #3A45DD

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

Preview Lab → · Contrast checker → · Palette generator →

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