#3E5AAF#3E5AAF

#3E5AAF is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.2% C 0.139 H 267.4°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#3E5AAF
RGBrgb(62, 90, 175)
HSLhsl(225, 48%, 46%)
HSVhsv(225, 65%, 69%)
CMYKcmyk(64.6%, 48.6%, 0%, 31.4%)
CIE-LABlab(40.30, 17.43, -48.58)
CIE-LCHlch(40.30, 51.62, 289.74°)
OKLaboklab(49.16% -0.0063 -0.1391)
OKLCHoklch(49.16% 0.139 267.4)
XYZxyz(13.3780, 11.4304, 42.0504)
Luminance0.1143 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5AAF #AF933E
analogous
#3E93AF #3E5AAF #5B3EAF
triadic
#3E5AAF #AF3E5A #5AAF3E
tetradic
#3E5AAF #AF3E93 #AF933E #3EAF5B
square
#3E5AAF #AF3E93 #AF933E #3EAF5B
split-complementary
#3E5AAF #AF5B3E #93AF3E
monochromatic
#1E2C55 #2E4382 #3E5AAF #637CC8 #90A2D8

Accessibility & contrast

On white

6.39
#3E5AAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#3E5AAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E5AAF
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E5AAF#FFFFFF#000000##FFFFFF
##3E5AAF1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E64B2
Deuteranopia (green-blind)
#165AAD
Tritanopia (blue-blind)
#006E7C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3e5aaf;
/* rgb */ color: rgb(62, 90, 175);
/* oklch */ color: oklch(49.2% 0.139 267.4);
Tailwind
colors: {
  custom: {
    50: '#7f88c7',
    500: '#3e5aaf',
    950: '#000000',
  },
}
SCSS
$custom: #3e5aaf;
$custom-light: #7f88c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5aaf",
  "rgb": {
    "r": 62,
    "g": 90,
    "b": 175
  },
  "hsl": {
    "h": 225.133,
    "s": 47.679,
    "l": 46.471
  },
  "oklch": {
    "l": 0.49158,
    "c": 0.13921,
    "h": 267.4
  },
  "luminance": 0.11432
}

Semantic roles & 50–950 ramp

primary
#3E5AAF
secondary
#C3B486
accent
#B651D7
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #3E5AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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