#3A448E#3A448E

#3A448E is a dark, vivid blue. Relative luminance 0.070; OKLCH L 41.9% C 0.122 H 274.1°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#3A448E
RGBrgb(58, 68, 142)
HSLhsl(233, 42%, 39%)
HSVhsv(233, 59%, 56%)
CMYKcmyk(59.2%, 52.1%, 0%, 44.3%)
CIE-LABlab(31.78, 19.35, -42.46)
CIE-LCHlch(31.78, 46.66, 294.50°)
OKLaboklab(41.93% 0.0088 -0.1214)
OKLCHoklch(41.93% 0.122 274.1)
XYZxyz(8.6929, 6.9861, 26.4763)
Luminance0.0699 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A448E #8E843A
analogous
#3A6E8E #3A448E #5A3A8E
triadic
#3A448E #8E3A44 #448E3A
tetradic
#3A448E #8E3A6E #8E843A #3A8E5A
square
#3A448E #8E3A6E #8E843A #3A8E5A
split-complementary
#3A448E #8E5A3A #6E8E3A
monochromatic
#171A37 #282F63 #3A448E #4E5BB7 #7A83C9

Accessibility & contrast

On white

8.76
#3A448E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#3A448E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A448E
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A448E#FFFFFF#000000##FFFFFF
##3A448E1.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4E91
Deuteranopia (green-blind)
#0C478C
Tritanopia (blue-blind)
#015562
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3a448e;
/* rgb */ color: rgb(58, 68, 142);
/* oklch */ color: oklch(41.9% 0.122 274.1);
Tailwind
colors: {
  custom: {
    50: '#7877b0',
    500: '#3a448e',
    950: '#000000',
  },
}
SCSS
$custom: #3a448e;
$custom-light: #7877b0;
$custom-dark: #000000;
JSON
{
  "hex": "#3a448e",
  "rgb": {
    "r": 58,
    "g": 68,
    "b": 142
  },
  "hsl": {
    "h": 232.857,
    "s": 42,
    "l": 39.216
  },
  "oklch": {
    "l": 0.41928,
    "c": 0.12176,
    "h": 274.1
  },
  "luminance": 0.06987
}

Semantic roles & 50–950 ramp

primary
#3A448E
secondary
#B2AA72
accent
#C356D2
background
#F7F7FA
surface
#EEEDF5
border
#C9C8CF
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #3A448E

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

Preview Lab → · Contrast checker → · Palette generator →

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