#3E5FBA#3E5FBA

#3E5FBA is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.0% C 0.148 H 266.2°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#3E5FBA
RGBrgb(62, 95, 186)
HSLhsl(224, 50%, 49%)
HSVhsv(224, 67%, 73%)
CMYKcmyk(66.7%, 48.9%, 0%, 27.1%)
CIE-LABlab(42.39, 18.16, -51.67)
CIE-LCHlch(42.39, 54.77, 289.37°)
OKLaboklab(50.98% -0.0097 -0.1481)
OKLCHoklch(50.98% 0.148 266.2)
XYZxyz(14.9387, 12.7523, 48.1190)
Luminance0.1275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5FBA #BA993E
analogous
#3E9DBA #3E5FBA #5B3EBA
triadic
#3E5FBA #BA3E5F #5FBA3E
tetradic
#3E5FBA #BA3E9D #BA993E #3EBA5B
square
#3E5FBA #BA3E9D #BA993E #3EBA5B
split-complementary
#3E5FBA #BA5B3E #9DBA3E
monochromatic
#1F305E #2F488C #3E5FBA #6883CD #96A9DC

Accessibility & contrast

On white

5.91
#3E5FBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#3E5FBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E5FBA
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E5FBA#FFFFFF#000000##FFFFFF
##3E5FBA1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E6ABD
Deuteranopia (green-blind)
#0E5FB8
Tritanopia (blue-blind)
#007483
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3e5fba;
/* rgb */ color: rgb(62, 95, 186);
/* oklch */ color: oklch(51.0% 0.148 266.2);
Tailwind
colors: {
  custom: {
    50: '#818bcf',
    500: '#3e5fba',
    950: '#000000',
  },
}
SCSS
$custom: #3e5fba;
$custom-light: #818bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5fba",
  "rgb": {
    "r": 62,
    "g": 95,
    "b": 186
  },
  "hsl": {
    "h": 224.032,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.5098,
    "c": 0.1484,
    "h": 266.2
  },
  "luminance": 0.12754
}

Semantic roles & 50–950 ramp

primary
#3E5FBA
secondary
#C8B88C
accent
#B44EDA
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #3E5FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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