#3A4E9A#3A4E9A

#3A4E9A is a dark, vivid blue. Relative luminance 0.087; OKLCH L 44.9% C 0.126 H 269.7°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#3A4E9A
RGBrgb(58, 78, 154)
HSLhsl(228, 45%, 42%)
HSVhsv(228, 62%, 60%)
CMYKcmyk(62.3%, 49.4%, 0%, 39.6%)
CIE-LABlab(35.36, 16.99, -44.00)
CIE-LCHlch(35.36, 47.17, 291.12°)
OKLaboklab(44.9% -0.0007 -0.1258)
OKLCHoklch(44.9% 0.126 269.7)
XYZxyz(10.3001, 8.6805, 31.6983)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4E9A #9A863A
analogous
#3A7E9A #3A4E9A #563A9A
triadic
#3A4E9A #9A3A4E #4E9A3A
tetradic
#3A4E9A #9A3A7E #9A863A #3A9A56
square
#3A4E9A #9A3A7E #9A863A #3A9A56
split-complementary
#3A4E9A #9A563A #7E9A3A
monochromatic
#192141 #29376E #3A4E9A #5369BE #7F90CF

Accessibility & contrast

On white

7.67
#3A4E9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#3A4E9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4E9A
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4E9A#FFFFFF#000000##FFFFFF
##3A4E9A1.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27589D
Deuteranopia (green-blind)
#154F98
Tritanopia (blue-blind)
#005F6C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3a4e9a;
/* rgb */ color: rgb(58, 78, 154);
/* oklch */ color: oklch(44.9% 0.126 269.7);
Tailwind
colors: {
  custom: {
    50: '#7a7fb8',
    500: '#3a4e9a',
    950: '#000000',
  },
}
SCSS
$custom: #3a4e9a;
$custom-light: #7a7fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4e9a",
  "rgb": {
    "r": 58,
    "g": 78,
    "b": 154
  },
  "hsl": {
    "h": 227.5,
    "s": 45.283,
    "l": 41.569
  },
  "oklch": {
    "l": 0.44902,
    "c": 0.12583,
    "h": 269.7
  },
  "luminance": 0.08681
}

Semantic roles & 50–950 ramp

primary
#3A4E9A
secondary
#B9AB77
accent
#BA53D5
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A11
muted
#7C7C80

Preview Lab

Preview with #3A4E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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