#3A25A8#3A25A8

#3A25A8 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 39.0% C 0.194 H 279.8°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#3A25A8
RGBrgb(58, 37, 168)
HSLhsl(250, 64%, 40%)
HSVhsv(250, 78%, 66%)
CMYKcmyk(65.5%, 78%, 0%, 34.1%)
CIE-LABlab(26.87, 47.01, -66.29)
CIE-LCHlch(26.87, 81.27, 305.34°)
OKLaboklab(39.04% 0.0329 -0.1914)
OKLCHoklch(39.04% 0.194 279.8)
XYZxyz(9.4721, 5.0491, 37.5136)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A25A8 #93A825
analogous
#2552A8 #3A25A8 #7B25A8
triadic
#3A25A8 #A83A25 #25A83A
tetradic
#3A25A8 #A82552 #93A825 #25A87B
square
#3A25A8 #A82552 #93A825 #25A87B
split-complementary
#3A25A8 #A87B25 #52A825
monochromatic
#170F44 #291A76 #3A25A8 #5037D3 #7C69DE

Accessibility & contrast

On white

10.45
#3A25A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#3A25A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A25A8
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A25A8#FFFFFF#000000##FFFFFF
##3A25A81.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AC
Deuteranopia (green-blind)
#003AA6
Tritanopia (blue-blind)
#004C66
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3a25a8;
/* rgb */ color: rgb(58, 37, 168);
/* oklch */ color: oklch(39.0% 0.194 279.8);
Tailwind
colors: {
  custom: {
    50: '#7f63c3',
    500: '#3a25a8',
    950: '#000000',
  },
}
SCSS
$custom: #3a25a8;
$custom-light: #7f63c3;
$custom-dark: #000000;
JSON
{
  "hex": "#3a25a8",
  "rgb": {
    "r": 58,
    "g": 37,
    "b": 168
  },
  "hsl": {
    "h": 249.618,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.39044,
    "c": 0.19418,
    "h": 279.8
  },
  "luminance": 0.0505
}

Semantic roles & 50–950 ramp

primary
#3A25A8
secondary
#B5C465
accent
#E741CC
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #3A25A8

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

Preview Lab → · Contrast checker → · Palette generator →

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