#3A3F90#3A3F90

#3A3F90 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.1% C 0.132 H 276.3°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#3A3F90
RGBrgb(58, 63, 144)
HSLhsl(237, 43%, 40%)
HSVhsv(237, 60%, 56%)
CMYKcmyk(59.7%, 56.3%, 0%, 43.5%)
CIE-LABlab(30.56, 23.37, -45.65)
CIE-LCHlch(30.56, 51.28, 297.12°)
OKLaboklab(41.06% 0.0144 -0.1308)
OKLCHoklch(41.06% 0.132 276.3)
XYZxyz(8.5548, 6.4675, 27.1777)
Luminance0.0647 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3F90 #908B3A
analogous
#3A6A90 #3A3F90 #603A90
triadic
#3A3F90 #903A3F #3F903A
tetradic
#3A3F90 #903A6A #908B3A #3A9060
square
#3A3F90 #903A6A #908B3A #3A9060
split-complementary
#3A3F90 #90603A #6A903A
monochromatic
#171939 #282C64 #3A3F90 #4F55B8 #7B7FCA

Accessibility & contrast

On white

9.16
#3A3F90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#3A3F90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3F90
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3F90#FFFFFF#000000##FFFFFF
##3A3F901.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#054C93
Deuteranopia (green-blind)
#00448E
Tritanopia (blue-blind)
#005261
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3a3f90;
/* rgb */ color: rgb(58, 63, 144);
/* oklch */ color: oklch(41.1% 0.132 276.3);
Tailwind
colors: {
  custom: {
    50: '#7974b1',
    500: '#3a3f90',
    950: '#000000',
  },
}
SCSS
$custom: #3a3f90;
$custom-light: #7974b1;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3f90",
  "rgb": {
    "r": 58,
    "g": 63,
    "b": 144
  },
  "hsl": {
    "h": 236.512,
    "s": 42.574,
    "l": 39.608
  },
  "oklch": {
    "l": 0.41063,
    "c": 0.13164,
    "h": 276.3
  },
  "luminance": 0.06468
}

Semantic roles & 50–950 ramp

primary
#3A3F90
secondary
#B3AF73
accent
#CB55D2
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #3A3F90

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

Preview Lab → · Contrast checker → · Palette generator →

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