#3A4E88#3A4E88

#3A4E88 is a dark, moderate blue. Relative luminance 0.081; OKLCH L 43.7% C 0.099 H 267.8°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#3A4E88
RGBrgb(58, 78, 136)
HSLhsl(225, 40%, 38%)
HSVhsv(225, 57%, 53%)
CMYKcmyk(57.4%, 42.6%, 0%, 46.7%)
CIE-LABlab(34.24, 10.59, -34.83)
CIE-LCHlch(34.24, 36.41, 286.91°)
OKLaboklab(43.69% -0.0037 -0.0989)
OKLCHoklch(43.69% 0.099 267.8)
XYZxyz(8.9118, 8.1252, 24.3865)
Luminance0.0813 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4E88 #88743A
analogous
#3A7588 #3A4E88 #4D3A88
triadic
#3A4E88 #883A4E #4E883A
tetradic
#3A4E88 #883A75 #88743A #3A884D
square
#3A4E88 #883A75 #88743A #3A884D
split-complementary
#3A4E88 #884D3A #75883A
monochromatic
#151D32 #28355D #3A4E88 #4C67B3 #778BC5

Accessibility & contrast

On white

8.00
#3A4E88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#3A4E88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4E88
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4E88#FFFFFF#000000##FFFFFF
##3A4E881.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35548A
Deuteranopia (green-blind)
#2C4D87
Tritanopia (blue-blind)
#0B5B64
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3a4e88;
/* rgb */ color: rgb(58, 78, 136);
/* oklch */ color: oklch(43.7% 0.099 267.8);
Tailwind
colors: {
  custom: {
    50: '#767fab',
    500: '#3a4e88',
    950: '#000000',
  },
}
SCSS
$custom: #3a4e88;
$custom-light: #767fab;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4e88",
  "rgb": {
    "r": 58,
    "g": 78,
    "b": 136
  },
  "hsl": {
    "h": 224.615,
    "s": 40.206,
    "l": 38.039
  },
  "oklch": {
    "l": 0.43685,
    "c": 0.09899,
    "h": 267.8
  },
  "luminance": 0.08126
}

Semantic roles & 50–950 ramp

primary
#3A4E88
secondary
#AE9E6F
accent
#B158D0
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #3A4E88

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

Preview Lab → · Contrast checker → · Palette generator →

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