#3A458E#3A458E

#3A458E is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.1% C 0.120 H 273.7°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#3A458E
RGBrgb(58, 69, 142)
HSLhsl(232, 42%, 39%)
HSVhsv(232, 59%, 56%)
CMYKcmyk(59.2%, 51.4%, 0%, 44.3%)
CIE-LABlab(32.05, 18.68, -42.02)
CIE-LCHlch(32.05, 45.98, 293.97°)
OKLaboklab(42.14% 0.0077 -0.1201)
OKLCHoklch(42.14% 0.12 273.7)
XYZxyz(8.7539, 7.1081, 26.4966)
Luminance0.0711 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A458E #8E833A
analogous
#3A6F8E #3A458E #593A8E
triadic
#3A458E #8E3A45 #458E3A
tetradic
#3A458E #8E3A6F #8E833A #3A8E59
square
#3A458E #8E3A6F #8E833A #3A8E59
split-complementary
#3A458E #8E593A #6F8E3A
monochromatic
#171B37 #283063 #3A458E #4E5CB7 #7A84C9

Accessibility & contrast

On white

8.67
#3A458E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#3A458E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A458E
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A458E#FFFFFF#000000##FFFFFF
##3A458E1.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4F91
Deuteranopia (green-blind)
#10488C
Tritanopia (blue-blind)
#015663
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3a458e;
/* rgb */ color: rgb(58, 69, 142);
/* oklch */ color: oklch(42.1% 0.120 273.7);
Tailwind
colors: {
  custom: {
    50: '#7878af',
    500: '#3a458e',
    950: '#000000',
  },
}
SCSS
$custom: #3a458e;
$custom-light: #7878af;
$custom-dark: #000000;
JSON
{
  "hex": "#3a458e",
  "rgb": {
    "r": 58,
    "g": 69,
    "b": 142
  },
  "hsl": {
    "h": 232.143,
    "s": 42,
    "l": 39.216
  },
  "oklch": {
    "l": 0.42136,
    "c": 0.12037,
    "h": 273.7
  },
  "luminance": 0.07109
}

Semantic roles & 50–950 ramp

primary
#3A458E
secondary
#B2AA72
accent
#C256D2
background
#F7F7FA
surface
#EEEDF5
border
#C9C8CF
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #3A458E

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

Preview Lab → · Contrast checker → · Palette generator →

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