#3A4E9F#3A4E9F

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

Color values

HEX#3A4E9F
RGBrgb(58, 78, 159)
HSLhsl(228, 47%, 43%)
HSVhsv(228, 64%, 62%)
CMYKcmyk(63.5%, 50.9%, 0%, 37.6%)
CIE-LABlab(35.70, 18.79, -46.47)
CIE-LCHlch(35.70, 50.13, 292.02°)
OKLaboklab(45.26% -0.0001 -0.1331)
OKLCHoklch(45.26% 0.133 269.9)
XYZxyz(10.7252, 8.8506, 33.9373)
Luminance0.0885 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4E9F #9F8B3A
analogous
#3A809F #3A4E9F #593A9F
triadic
#3A4E9F #9F3A4E #4E9F3A
tetradic
#3A4E9F #9F3A80 #9F8B3A #3A9F59
square
#3A4E9F #9F3A80 #9F8B3A #3A9F59
split-complementary
#3A4E9F #9F593A #809F3A
monochromatic
#192245 #2A3872 #3A4E9F #556BC1 #8292D1

Accessibility & contrast

On white

7.58
#3A4E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A4E9F
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4E9F#FFFFFF#000000##FFFFFF
##3A4E9F1.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2259A2
Deuteranopia (green-blind)
#07509D
Tritanopia (blue-blind)
#00616F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3a4e9f;
/* rgb */ color: rgb(58, 78, 159);
/* oklch */ color: oklch(45.3% 0.133 269.9);
Tailwind
colors: {
  custom: {
    50: '#7a7fbc',
    500: '#3a4e9f',
    950: '#000000',
  },
}
SCSS
$custom: #3a4e9f;
$custom-light: #7a7fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4e9f",
  "rgb": {
    "r": 58,
    "g": 78,
    "b": 159
  },
  "hsl": {
    "h": 228.119,
    "s": 46.544,
    "l": 42.549
  },
  "oklch": {
    "l": 0.45262,
    "c": 0.13311,
    "h": 269.9
  },
  "luminance": 0.08852
}

Semantic roles & 50–950 ramp

primary
#3A4E9F
secondary
#BBAE7A
accent
#BC52D6
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #3A4E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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