#3A5EE3#3A5EE3

#3A5EE3 is a mid, highly saturated blue. Relative luminance 0.145; OKLCH L 53.7% C 0.206 H 267.3°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#3A5EE3
RGBrgb(58, 94, 227)
HSLhsl(227, 75%, 56%)
HSVhsv(227, 74%, 89%)
CMYKcmyk(74.4%, 58.6%, 0%, 11%)
CIE-LABlab(44.87, 33.07, -71.22)
CIE-LCHlch(44.87, 78.52, 294.91°)
OKLaboklab(53.73% -0.0096 -0.2057)
OKLCHoklch(53.73% 0.206 267.3)
XYZxyz(19.6079, 14.4489, 74.4137)
Luminance0.1445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5EE3 #E3BF3A
analogous
#3AB2E3 #3A5EE3 #6A3AE3
triadic
#3A5EE3 #E33A5E #5EE33A
tetradic
#3A5EE3 #E33AB2 #E3BF3A #3AE36A
square
#3A5EE3 #E33AB2 #E3BF3A #3AE36A
split-complementary
#3A5EE3 #E36A3A #B2E33A
monochromatic
#142E8E #1C40C4 #3A5EE3 #708AEB #A5B6F2

Accessibility & contrast

On white

5.40
#3A5EE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#3A5EE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A5EE3
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5EE3#FFFFFF#000000##FFFFFF
##3A5EE31.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E7
Deuteranopia (green-blind)
#0063E0
Tritanopia (blue-blind)
#008097
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #3a5ee3;
/* rgb */ color: rgb(58, 94, 227);
/* oklch */ color: oklch(53.7% 0.206 267.3);
Tailwind
colors: {
  custom: {
    50: '#888bed',
    500: '#3a5ee3',
    950: '#000000',
  },
}
SCSS
$custom: #3a5ee3;
$custom-light: #888bed;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5ee3",
  "rgb": {
    "r": 58,
    "g": 94,
    "b": 227
  },
  "hsl": {
    "h": 227.219,
    "s": 75.111,
    "l": 55.882
  },
  "oklch": {
    "l": 0.53726,
    "c": 0.20588,
    "h": 267.3
  },
  "luminance": 0.14451
}

Semantic roles & 50–950 ramp

primary
#3A5EE3
secondary
#DFD099
accent
#CA36F2
background
#F9F8FE
surface
#F1F0FD
border
#CBCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #3A5EE3

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

Preview Lab → · Contrast checker → · Palette generator →

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