#3A4E7B#3A4E7B

#3A4E7B is a dark, moderate blue. Relative luminance 0.078; OKLCH L 42.9% C 0.079 H 265.1°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#3A4E7B
RGBrgb(58, 78, 123)
HSLhsl(222, 36%, 35%)
HSVhsv(222, 53%, 48%)
CMYKcmyk(52.8%, 36.6%, 0%, 51.8%)
CIE-LABlab(33.52, 6.09, -27.96)
CIE-LCHlch(33.52, 28.62, 282.28°)
OKLaboklab(42.89% -0.0068 -0.0788)
OKLCHoklch(42.89% 0.079 265.1)
XYZxyz(8.0433, 7.7778, 19.8125)
Luminance0.0778 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4E7B #7B673A
analogous
#3A6F7B #3A4E7B #463A7B
triadic
#3A4E7B #7B3A4E #4E7B3A
tetradic
#3A4E7B #7B3A6F #7B673A #3A7B46
square
#3A4E7B #7B3A6F #7B673A #3A7B46
split-complementary
#3A4E7B #7B463A #6F7B3A
monochromatic
#131928 #263451 #3A4E7B #4E68A5 #7389BD

Accessibility & contrast

On white

8.22
#3A4E7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#3A4E7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4E7B
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4E7B#FFFFFF#000000##FFFFFF
##3A4E7B1.008.222.568.22
#FFFFFF8.221.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D527D
Deuteranopia (green-blind)
#354C7A
Tritanopia (blue-blind)
#1C585E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3a4e7b;
/* rgb */ color: rgb(58, 78, 123);
/* oklch */ color: oklch(42.9% 0.079 265.1);
Tailwind
colors: {
  custom: {
    50: '#757fa1',
    500: '#3a4e7b',
    950: '#000000',
  },
}
SCSS
$custom: #3a4e7b;
$custom-light: #757fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4e7b",
  "rgb": {
    "r": 58,
    "g": 78,
    "b": 123
  },
  "hsl": {
    "h": 221.538,
    "s": 35.912,
    "l": 35.49
  },
  "oklch": {
    "l": 0.42887,
    "c": 0.07914,
    "h": 265.1
  },
  "luminance": 0.07778
}

Semantic roles & 50–950 ramp

primary
#3A4E7B
secondary
#A6946B
accent
#A95CCC
background
#F7F7F9
surface
#EDEEF2
border
#C8C9CC
text
#080A0F
muted
#7B7C7E

Preview Lab

Preview with #3A4E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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