#3A448F#3A448F

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

Color values

HEX#3A448F
RGBrgb(58, 68, 143)
HSLhsl(233, 42%, 39%)
HSVhsv(233, 59%, 56%)
CMYKcmyk(59.4%, 52.4%, 0%, 43.9%)
CIE-LABlab(31.84, 19.70, -42.96)
CIE-LCHlch(31.84, 47.27, 294.63°)
OKLaboklab(42% 0.0089 -0.1229)
OKLCHoklch(42% 0.123 274.1)
XYZxyz(8.7684, 7.0163, 26.8735)
Luminance0.0702 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A448F #8F853A
analogous
#3A6F8F #3A448F #5B3A8F
triadic
#3A448F #8F3A44 #448F3A
tetradic
#3A448F #8F3A6F #8F853A #3A8F5B
square
#3A448F #8F3A6F #8F853A #3A8F5B
split-complementary
#3A448F #8F5B3A #6F8F3A
monochromatic
#171B38 #282F63 #3A448F #4F5BB7 #7A84C9

Accessibility & contrast

On white

8.74
#3A448F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A448F
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A448F#FFFFFF#000000##FFFFFF
##3A448F1.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4F92
Deuteranopia (green-blind)
#09478D
Tritanopia (blue-blind)
#005563
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3a448f;
/* rgb */ color: rgb(58, 68, 143);
/* oklch */ color: oklch(42.0% 0.123 274.1);
Tailwind
colors: {
  custom: {
    50: '#7877b0',
    500: '#3a448f',
    950: '#000000',
  },
}
SCSS
$custom: #3a448f;
$custom-light: #7877b0;
$custom-dark: #000000;
JSON
{
  "hex": "#3a448f",
  "rgb": {
    "r": 58,
    "g": 68,
    "b": 143
  },
  "hsl": {
    "h": 232.941,
    "s": 42.289,
    "l": 39.412
  },
  "oklch": {
    "l": 0.42001,
    "c": 0.12323,
    "h": 274.1
  },
  "luminance": 0.07017
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A448F

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

Preview Lab → · Contrast checker → · Palette generator →

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