#3E5EBA#3E5EBA

#3E5EBA is a mid, vivid blue. Relative luminance 0.126; OKLCH L 50.8% C 0.150 H 266.6°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#3E5EBA
RGBrgb(62, 94, 186)
HSLhsl(225, 50%, 49%)
HSVhsv(225, 67%, 73%)
CMYKcmyk(66.7%, 49.5%, 0%, 27.1%)
CIE-LABlab(42.11, 18.81, -52.11)
CIE-LCHlch(42.11, 55.40, 289.84°)
OKLaboklab(50.77% -0.0088 -0.1494)
OKLCHoklch(50.77% 0.15 266.6)
XYZxyz(14.8492, 12.5733, 48.0892)
Luminance0.1258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5EBA #BA9A3E
analogous
#3E9CBA #3E5EBA #5C3EBA
triadic
#3E5EBA #BA3E5E #5EBA3E
tetradic
#3E5EBA #BA3E9C #BA9A3E #3EBA5C
square
#3E5EBA #BA3E9C #BA9A3E #3EBA5C
split-complementary
#3E5EBA #BA5C3E #9CBA3E
monochromatic
#1F305E #2F478C #3E5EBA #6882CD #96A8DC

Accessibility & contrast

On white

5.97
#3E5EBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#3E5EBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E5EBA
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E5EBA#FFFFFF#000000##FFFFFF
##3E5EBA1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B69BD
Deuteranopia (green-blind)
#075EB8
Tritanopia (blue-blind)
#007383
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3e5eba;
/* rgb */ color: rgb(62, 94, 186);
/* oklch */ color: oklch(50.8% 0.150 266.6);
Tailwind
colors: {
  custom: {
    50: '#818bcf',
    500: '#3e5eba',
    950: '#000000',
  },
}
SCSS
$custom: #3e5eba;
$custom-light: #818bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5eba",
  "rgb": {
    "r": 62,
    "g": 94,
    "b": 186
  },
  "hsl": {
    "h": 224.516,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.50771,
    "c": 0.14966,
    "h": 266.6
  },
  "luminance": 0.12575
}

Semantic roles & 50–950 ramp

primary
#3E5EBA
secondary
#C8B88C
accent
#B64EDA
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #3E5EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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