#3A4E94#3A4E94

#3A4E94 is a dark, moderate blue. Relative luminance 0.085; OKLCH L 44.5% C 0.117 H 269.2°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#3A4E94
RGBrgb(58, 78, 148)
HSLhsl(227, 44%, 40%)
HSVhsv(227, 61%, 58%)
CMYKcmyk(60.8%, 47.3%, 0%, 42%)
CIE-LABlab(34.97, 14.84, -40.99)
CIE-LCHlch(34.97, 43.59, 289.91°)
OKLaboklab(44.48% -0.0016 -0.117)
OKLCHoklch(44.48% 0.117 269.2)
XYZxyz(9.8128, 8.4856, 29.1320)
Luminance0.0849 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4E94 #94803A
analogous
#3A7B94 #3A4E94 #533A94
triadic
#3A4E94 #943A4E #4E943A
tetradic
#3A4E94 #943A7B #94803A #3A9453
square
#3A4E94 #943A7B #94803A #3A9453
split-complementary
#3A4E94 #94533A #7B943A
monochromatic
#18203C #293768 #3A4E94 #5168BB #7D8ECC

Accessibility & contrast

On white

7.79
#3A4E94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#3A4E94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4E94
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4E94#FFFFFF#000000##FFFFFF
##3A4E941.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5697
Deuteranopia (green-blind)
#1F4E93
Tritanopia (blue-blind)
#005E6A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3a4e94;
/* rgb */ color: rgb(58, 78, 148);
/* oklch */ color: oklch(44.5% 0.117 269.2);
Tailwind
colors: {
  custom: {
    50: '#787fb4',
    500: '#3a4e94',
    950: '#000000',
  },
}
SCSS
$custom: #3a4e94;
$custom-light: #787fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4e94",
  "rgb": {
    "r": 58,
    "g": 78,
    "b": 148
  },
  "hsl": {
    "h": 226.667,
    "s": 43.689,
    "l": 40.392
  },
  "oklch": {
    "l": 0.44483,
    "c": 0.11699,
    "h": 269.2
  },
  "luminance": 0.08486
}

Semantic roles & 50–950 ramp

primary
#3A4E94
secondary
#B5A774
accent
#B754D3
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A11
muted
#7C7C80

Preview Lab

Preview with #3A4E94

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

Preview Lab → · Contrast checker → · Palette generator →

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