#3E5BAF#3E5BAF

#3E5BAF is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.4% C 0.138 H 267.0°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#3E5BAF
RGBrgb(62, 91, 175)
HSLhsl(225, 48%, 46%)
HSVhsv(225, 65%, 69%)
CMYKcmyk(64.6%, 48%, 0%, 31.4%)
CIE-LABlab(40.57, 16.79, -48.14)
CIE-LCHlch(40.57, 50.98, 289.22°)
OKLaboklab(49.37% -0.0073 -0.1377)
OKLCHoklch(49.37% 0.138 267)
XYZxyz(13.4629, 11.6002, 42.0787)
Luminance0.1160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5BAF #AF923E
analogous
#3E94AF #3E5BAF #5A3EAF
triadic
#3E5BAF #AF3E5B #5BAF3E
tetradic
#3E5BAF #AF3E94 #AF923E #3EAF5A
square
#3E5BAF #AF3E94 #AF923E #3EAF5A
split-complementary
#3E5BAF #AF5A3E #94AF3E
monochromatic
#1E2C55 #2E4482 #3E5BAF #637DC8 #90A2D8

Accessibility & contrast

On white

6.32
#3E5BAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#3E5BAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E5BAF
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E5BAF#FFFFFF#000000##FFFFFF
##3E5BAF1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3065B2
Deuteranopia (green-blind)
#195BAD
Tritanopia (blue-blind)
#006E7C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3e5baf;
/* rgb */ color: rgb(62, 91, 175);
/* oklch */ color: oklch(49.4% 0.138 267.0);
Tailwind
colors: {
  custom: {
    50: '#7f89c7',
    500: '#3e5baf',
    950: '#000000',
  },
}
SCSS
$custom: #3e5baf;
$custom-light: #7f89c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5baf",
  "rgb": {
    "r": 62,
    "g": 91,
    "b": 175
  },
  "hsl": {
    "h": 224.602,
    "s": 47.679,
    "l": 46.471
  },
  "oklch": {
    "l": 0.49369,
    "c": 0.13793,
    "h": 267
  },
  "luminance": 0.11601
}

Semantic roles & 50–950 ramp

primary
#3E5BAF
secondary
#C3B386
accent
#B551D7
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #3E5BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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