#3025A2#3025A2

#3025A2 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.6% C 0.189 H 276.2°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#3025A2
RGBrgb(48, 37, 162)
HSLhsl(245, 63%, 39%)
HSVhsv(245, 77%, 64%)
CMYKcmyk(70.4%, 77.2%, 0%, 36.5%)
CIE-LABlab(25.44, 44.09, -65.05)
CIE-LCHlch(25.44, 78.58, 304.13°)
OKLaboklab(37.65% 0.0204 -0.188)
OKLCHoklch(37.65% 0.189 276.2)
XYZxyz(8.3999, 4.5594, 34.6128)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3025A2 #97A225
analogous
#2559A2 #3025A2 #6F25A2
triadic
#3025A2 #A23025 #25A230
tetradic
#3025A2 #A22559 #97A225 #25A26F
square
#3025A2 #A22559 #97A225 #25A26F
split-complementary
#3025A2 #A26F25 #59A225
monochromatic
#120E3E #211A70 #3025A2 #4134D1 #7065DC

Accessibility & contrast

On white

10.98
#3025A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#3025A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3025A2
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3025A2#FFFFFF#000000##FFFFFF
##3025A21.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A6
Deuteranopia (green-blind)
#0037A0
Tritanopia (blue-blind)
#004A62
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3025a2;
/* rgb */ color: rgb(48, 37, 162);
/* oklch */ color: oklch(37.6% 0.189 276.2);
Tailwind
colors: {
  custom: {
    50: '#7a62bf',
    500: '#3025a2',
    950: '#000000',
  },
}
SCSS
$custom: #3025a2;
$custom-light: #7a62bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3025a2",
  "rgb": {
    "r": 48,
    "g": 37,
    "b": 162
  },
  "hsl": {
    "h": 245.28,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.37647,
    "c": 0.18913,
    "h": 276.2
  },
  "luminance": 0.0456
}

Semantic roles & 50–950 ramp

primary
#3025A2
secondary
#B9C261
accent
#E642D7
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3025A2

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

Preview Lab → · Contrast checker → · Palette generator →

#3025A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva