#3A438F#3A438F

#3A438F is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.8% C 0.125 H 274.6°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#3A438F
RGBrgb(58, 67, 143)
HSLhsl(234, 42%, 39%)
HSVhsv(234, 59%, 56%)
CMYKcmyk(59.4%, 53.1%, 0%, 43.9%)
CIE-LABlab(31.57, 20.37, -43.41)
CIE-LCHlch(31.57, 47.95, 295.14°)
OKLaboklab(41.8% 0.01 -0.1242)
OKLCHoklch(41.8% 0.125 274.6)
XYZxyz(8.7084, 6.8964, 26.8535)
Luminance0.0690 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A438F #8F863A
analogous
#3A6E8F #3A438F #5C3A8F
triadic
#3A438F #8F3A43 #438F3A
tetradic
#3A438F #8F3A6E #8F863A #3A8F5C
square
#3A438F #8F3A6E #8F863A #3A8F5C
split-complementary
#3A438F #8F5C3A #6E8F3A
monochromatic
#171A38 #282F63 #3A438F #4F5AB7 #7A83C9

Accessibility & contrast

On white

8.83
#3A438F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#3A438F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A438F
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A438F#FFFFFF#000000##FFFFFF
##3A438F1.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184E92
Deuteranopia (green-blind)
#04478D
Tritanopia (blue-blind)
#005462
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3a438f;
/* rgb */ color: rgb(58, 67, 143);
/* oklch */ color: oklch(41.8% 0.125 274.6);
Tailwind
colors: {
  custom: {
    50: '#7877b0',
    500: '#3a438f',
    950: '#000000',
  },
}
SCSS
$custom: #3a438f;
$custom-light: #7877b0;
$custom-dark: #000000;
JSON
{
  "hex": "#3a438f",
  "rgb": {
    "r": 58,
    "g": 67,
    "b": 143
  },
  "hsl": {
    "h": 233.647,
    "s": 42.289,
    "l": 39.412
  },
  "oklch": {
    "l": 0.41795,
    "c": 0.12462,
    "h": 274.6
  },
  "luminance": 0.06897
}

Semantic roles & 50–950 ramp

primary
#3A438F
secondary
#B3AC72
accent
#C556D2
background
#F7F7FA
surface
#EEEDF5
border
#C9C8CF
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #3A438F

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

Preview Lab → · Contrast checker → · Palette generator →

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