#3026A2#3026A2

#3026A2 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.8% C 0.188 H 276.0°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#3026A2
RGBrgb(48, 38, 162)
HSLhsl(245, 62%, 39%)
HSVhsv(245, 77%, 64%)
CMYKcmyk(70.4%, 76.5%, 0%, 36.5%)
CIE-LABlab(25.63, 43.55, -64.73)
CIE-LCHlch(25.63, 78.02, 303.93°)
OKLaboklab(37.78% 0.0198 -0.1871)
OKLCHoklch(37.78% 0.188 276)
XYZxyz(8.4315, 4.6225, 34.6233)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3026A2 #98A226
analogous
#265AA2 #3026A2 #6E26A2
triadic
#3026A2 #A23026 #26A230
tetradic
#3026A2 #A2265A #98A226 #26A26E
square
#3026A2 #A2265A #98A226 #26A26E
split-complementary
#3026A2 #A26E26 #5AA226
monochromatic
#130F3F #211A70 #3026A2 #4235D0 #7067DB

Accessibility & contrast

On white

10.91
#3026A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#3026A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3026A2
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3026A2#FFFFFF#000000##FFFFFF
##3026A21.0010.911.9210.91
#FFFFFF10.911.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3026a2;
/* rgb */ color: rgb(48, 38, 162);
/* oklch */ color: oklch(37.8% 0.188 276.0);
Tailwind
colors: {
  custom: {
    50: '#7a63bf',
    500: '#3026a2',
    950: '#000000',
  },
}
SCSS
$custom: #3026a2;
$custom-light: #7a63bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3026a2",
  "rgb": {
    "r": 48,
    "g": 38,
    "b": 162
  },
  "hsl": {
    "h": 244.839,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.37781,
    "c": 0.18817,
    "h": 276
  },
  "luminance": 0.04623
}

Semantic roles & 50–950 ramp

primary
#3026A2
secondary
#BAC163
accent
#E543D8
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3026A2

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

Preview Lab → · Contrast checker → · Palette generator →

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