#3A45BE#3A45BE

#3A45BE is a mid, vivid blue. Relative luminance 0.089; OKLCH L 46.0% C 0.187 H 272.6°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#3A45BE
RGBrgb(58, 69, 190)
HSLhsl(235, 53%, 49%)
HSVhsv(235, 69%, 75%)
CMYKcmyk(69.5%, 63.7%, 0%, 25.5%)
CIE-LABlab(35.74, 35.69, -64.81)
CIE-LCHlch(35.74, 73.99, 298.84°)
OKLaboklab(46.04% 0.0084 -0.1871)
OKLCHoklch(46.04% 0.187 272.6)
XYZxyz(13.1642, 8.8722, 49.7240)
Luminance0.0887 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A45BE #BEB33A
analogous
#3A87BE #3A45BE #713ABE
triadic
#3A45BE #BE3A45 #45BE3A
tetradic
#3A45BE #BE3A87 #BEB33A #3ABE71
square
#3A45BE #BE3A87 #BEB33A #3ABE71
split-complementary
#3A45BE #BE713A #87BE3A
monochromatic
#1D2360 #2C348F #3A45BE #656ED0 #949ADE

Accessibility & contrast

On white

7.57
#3A45BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#3A45BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A45BE
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A45BE#FFFFFF#000000##FFFFFF
##3A45BE1.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC2
Deuteranopia (green-blind)
#004EBC
Tritanopia (blue-blind)
#00647B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3a45be;
/* rgb */ color: rgb(58, 69, 190);
/* oklch */ color: oklch(46.0% 0.187 272.6);
Tailwind
colors: {
  custom: {
    50: '#8179d3',
    500: '#3a45be',
    950: '#000000',
  },
}
SCSS
$custom: #3a45be;
$custom-light: #8179d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3a45be",
  "rgb": {
    "r": 58,
    "g": 69,
    "b": 190
  },
  "hsl": {
    "h": 235,
    "s": 53.226,
    "l": 48.627
  },
  "oklch": {
    "l": 0.46037,
    "c": 0.18731,
    "h": 272.6
  },
  "luminance": 0.08873
}

Semantic roles & 50–950 ramp

primary
#3A45BE
secondary
#CAC48A
accent
#D14BDD
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #3A45BE

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

Preview Lab → · Contrast checker → · Palette generator →

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