#3A458F#3A458F

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

Color values

HEX#3A458F
RGBrgb(58, 69, 143)
HSLhsl(232, 42%, 39%)
HSVhsv(232, 59%, 56%)
CMYKcmyk(59.4%, 51.7%, 0%, 43.9%)
CIE-LABlab(32.12, 19.03, -42.52)
CIE-LCHlch(32.12, 46.59, 294.12°)
OKLaboklab(42.21% 0.0078 -0.1216)
OKLCHoklch(42.21% 0.122 273.7)
XYZxyz(8.8293, 7.1383, 26.8938)
Luminance0.0714 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A458F #8F843A
analogous
#3A708F #3A458F #5A3A8F
triadic
#3A458F #8F3A45 #458F3A
tetradic
#3A458F #8F3A70 #8F843A #3A8F5A
square
#3A458F #8F3A70 #8F843A #3A8F5A
split-complementary
#3A458F #8F5A3A #708F3A
monochromatic
#171B38 #283063 #3A458F #4F5CB7 #7A84C9

Accessibility & contrast

On white

8.65
#3A458F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#3A458F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A458F
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A458F#FFFFFF#000000##FFFFFF
##3A458F1.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4F92
Deuteranopia (green-blind)
#0D488D
Tritanopia (blue-blind)
#005663
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3a458f;
/* rgb */ color: rgb(58, 69, 143);
/* oklch */ color: oklch(42.2% 0.122 273.7);
Tailwind
colors: {
  custom: {
    50: '#7878b0',
    500: '#3a458f',
    950: '#000000',
  },
}
SCSS
$custom: #3a458f;
$custom-light: #7878b0;
$custom-dark: #000000;
JSON
{
  "hex": "#3a458f",
  "rgb": {
    "r": 58,
    "g": 69,
    "b": 143
  },
  "hsl": {
    "h": 232.235,
    "s": 42.289,
    "l": 39.412
  },
  "oklch": {
    "l": 0.42209,
    "c": 0.12185,
    "h": 273.7
  },
  "luminance": 0.07139
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A458F

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

Preview Lab → · Contrast checker → · Palette generator →

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