#3E4E9C#3E4E9C

#3E4E9C is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.3% C 0.128 H 271.7°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#3E4E9C
RGBrgb(62, 78, 156)
HSLhsl(230, 43%, 43%)
HSVhsv(230, 60%, 61%)
CMYKcmyk(60.3%, 50%, 0%, 38.8%)
CIE-LABlab(35.74, 18.49, -44.59)
CIE-LCHlch(35.74, 48.27, 292.53°)
OKLaboklab(45.3% 0.0038 -0.1275)
OKLCHoklch(45.3% 0.128 271.7)
XYZxyz(10.7098, 8.8724, 32.5942)
Luminance0.0887 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4E9C #9C8C3E
analogous
#3E7D9C #3E4E9C #5D3E9C
triadic
#3E4E9C #9C3E4E #4E9C3E
tetradic
#3E4E9C #9C3E7D #9C8C3E #3E9C5D
square
#3E4E9C #9C3E7D #9C8C3E #3E9C5D
split-complementary
#3E4E9C #9C5D3E #7D9C3E
monochromatic
#1B2244 #2D3870 #3E4E9C #5A6BBD #8692CF

Accessibility & contrast

On white

7.57
#3E4E9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#3E4E9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E4E9C
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4E9C#FFFFFF#000000##FFFFFF
##3E4E9C1.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26589F
Deuteranopia (green-blind)
#15509A
Tritanopia (blue-blind)
#00606D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3e4e9c;
/* rgb */ color: rgb(62, 78, 156);
/* oklch */ color: oklch(45.3% 0.128 271.7);
Tailwind
colors: {
  custom: {
    50: '#7c7fba',
    500: '#3e4e9c',
    950: '#000000',
  },
}
SCSS
$custom: #3e4e9c;
$custom-light: #7c7fba;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4e9c",
  "rgb": {
    "r": 62,
    "g": 78,
    "b": 156
  },
  "hsl": {
    "h": 229.787,
    "s": 43.119,
    "l": 42.745
  },
  "oklch": {
    "l": 0.45295,
    "c": 0.12753,
    "h": 271.7
  },
  "luminance": 0.08873
}

Semantic roles & 50–950 ramp

primary
#3E4E9C
secondary
#B9AF7D
accent
#BD55D3
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A11
muted
#7C7C80

Preview Lab

Preview with #3E4E9C

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

Preview Lab → · Contrast checker → · Palette generator →

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