#3E58BA#3E58BA

#3E58BA is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.5% C 0.157 H 268.8°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#3E58BA
RGBrgb(62, 88, 186)
HSLhsl(227, 50%, 49%)
HSVhsv(227, 67%, 73%)
CMYKcmyk(66.7%, 52.7%, 0%, 27.1%)
CIE-LABlab(40.49, 22.67, -54.74)
CIE-LCHlch(40.49, 59.25, 292.50°)
OKLaboklab(49.54% -0.0032 -0.1572)
OKLCHoklch(49.54% 0.157 268.8)
XYZxyz(14.3362, 11.5474, 47.9182)
Luminance0.1155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E58BA #BAA03E
analogous
#3E96BA #3E58BA #623EBA
triadic
#3E58BA #BA3E58 #58BA3E
tetradic
#3E58BA #BA3E96 #BAA03E #3EBA62
square
#3E58BA #BA3E96 #BAA03E #3EBA62
split-complementary
#3E58BA #BA623E #96BA3E
monochromatic
#1F2D5E #2F428C #3E58BA #687DCD #96A5DC

Accessibility & contrast

On white

6.34
#3E58BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#3E58BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E58BA
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E58BA#FFFFFF#000000##FFFFFF
##3E58BA1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1965BD
Deuteranopia (green-blind)
#005AB8
Tritanopia (blue-blind)
#006F80
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3e58ba;
/* rgb */ color: rgb(62, 88, 186);
/* oklch */ color: oklch(49.5% 0.157 268.8);
Tailwind
colors: {
  custom: {
    50: '#8186cf',
    500: '#3e58ba',
    950: '#000000',
  },
}
SCSS
$custom: #3e58ba;
$custom-light: #8186cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3e58ba",
  "rgb": {
    "r": 62,
    "g": 88,
    "b": 186
  },
  "hsl": {
    "h": 227.419,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.49538,
    "c": 0.15723,
    "h": 268.8
  },
  "luminance": 0.11549
}

Semantic roles & 50–950 ramp

primary
#3E58BA
secondary
#C8BB8C
accent
#BC4EDA
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #3E58BA

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

Preview Lab → · Contrast checker → · Palette generator →

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