#3025A8#3025A8

#3025A8 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.3% C 0.196 H 275.5°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#3025A8
RGBrgb(48, 37, 168)
HSLhsl(245, 64%, 40%)
HSVhsv(245, 78%, 66%)
CMYKcmyk(71.4%, 78%, 0%, 34.1%)
CIE-LABlab(26.09, 46.01, -67.60)
CIE-LCHlch(26.09, 81.78, 304.24°)
OKLaboklab(38.3% 0.0189 -0.1955)
OKLCHoklch(38.3% 0.196 275.5)
XYZxyz(8.9461, 4.7778, 37.4889)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3025A8 #9DA825
analogous
#255CA8 #3025A8 #7125A8
triadic
#3025A8 #A83025 #25A830
tetradic
#3025A8 #A8255C #9DA825 #25A871
square
#3025A8 #A8255C #9DA825 #25A871
split-complementary
#3025A8 #A87125 #5CA825
monochromatic
#130F44 #221A76 #3025A8 #4437D3 #7369DE

Accessibility & contrast

On white

10.74
#3025A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#3025A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3025A8
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3025A8#FFFFFF#000000##FFFFFF
##3025A81.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043AC
Deuteranopia (green-blind)
#0038A6
Tritanopia (blue-blind)
#004C66
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3025a8;
/* rgb */ color: rgb(48, 37, 168);
/* oklch */ color: oklch(38.3% 0.196 275.5);
Tailwind
colors: {
  custom: {
    50: '#7b63c3',
    500: '#3025a8',
    950: '#000000',
  },
}
SCSS
$custom: #3025a8;
$custom-light: #7b63c3;
$custom-dark: #000000;
JSON
{
  "hex": "#3025a8",
  "rgb": {
    "r": 48,
    "g": 37,
    "b": 168
  },
  "hsl": {
    "h": 245.038,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.38297,
    "c": 0.19638,
    "h": 275.5
  },
  "luminance": 0.04779
}

Semantic roles & 50–950 ramp

primary
#3025A8
secondary
#BCC465
accent
#E741D9
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #3025A8

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

Preview Lab → · Contrast checker → · Palette generator →

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