#3025A5#3025A5

#3025A5 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 38.0% C 0.193 H 275.9°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#3025A5
RGBrgb(48, 37, 165)
HSLhsl(245, 63%, 40%)
HSVhsv(245, 78%, 65%)
CMYKcmyk(70.9%, 77.6%, 0%, 35.3%)
CIE-LABlab(25.77, 45.05, -66.33)
CIE-LCHlch(25.77, 80.18, 304.18°)
OKLaboklab(37.97% 0.0197 -0.1918)
OKLCHoklch(37.97% 0.193 275.9)
XYZxyz(8.6698, 4.6673, 36.0340)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3025A5 #9AA525
analogous
#255AA5 #3025A5 #7025A5
triadic
#3025A5 #A53025 #25A530
tetradic
#3025A5 #A5255A #9AA525 #25A570
square
#3025A5 #A5255A #9AA525 #25A570
split-complementary
#3025A5 #A57025 #5AA525
monochromatic
#130F41 #211A73 #3025A5 #4335D2 #7267DD

Accessibility & contrast

On white

10.86
#3025A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#3025A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3025A5
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3025A5#FFFFFF#000000##FFFFFF
##3025A51.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A9
Deuteranopia (green-blind)
#0037A3
Tritanopia (blue-blind)
#004B64
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3025a5;
/* rgb */ color: rgb(48, 37, 165);
/* oklch */ color: oklch(38.0% 0.193 275.9);
Tailwind
colors: {
  custom: {
    50: '#7b62c1',
    500: '#3025a5',
    950: '#000000',
  },
}
SCSS
$custom: #3025a5;
$custom-light: #7b62c1;
$custom-dark: #000000;
JSON
{
  "hex": "#3025a5",
  "rgb": {
    "r": 48,
    "g": 37,
    "b": 165
  },
  "hsl": {
    "h": 245.156,
    "s": 63.366,
    "l": 39.608
  },
  "oklch": {
    "l": 0.37971,
    "c": 0.19276,
    "h": 275.9
  },
  "luminance": 0.04668
}

Semantic roles & 50–950 ramp

primary
#3025A5
secondary
#BBC363
accent
#E641D8
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3025A5

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

Preview Lab → · Contrast checker → · Palette generator →

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