#3027A2#3027A2

#3027A2 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.9% C 0.187 H 275.9°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#3027A2
RGBrgb(48, 39, 162)
HSLhsl(244, 61%, 39%)
HSVhsv(244, 76%, 64%)
CMYKcmyk(70.4%, 75.9%, 0%, 36.5%)
CIE-LABlab(25.82, 43.00, -64.41)
CIE-LCHlch(25.82, 77.45, 303.73°)
OKLaboklab(37.92% 0.0193 -0.1862)
OKLCHoklch(37.92% 0.187 275.9)
XYZxyz(8.4639, 4.6873, 34.6341)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3027A2 #99A227
analogous
#275CA2 #3027A2 #6E27A2
triadic
#3027A2 #A23027 #27A230
tetradic
#3027A2 #A2275C #99A227 #27A26E
square
#3027A2 #A2275C #99A227 #27A26E
split-complementary
#3027A2 #A26E27 #5CA227
monochromatic
#130F3F #211B71 #3027A2 #4237CF #7169DB

Accessibility & contrast

On white

10.84
#3027A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#3027A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3027A2
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3027A2#FFFFFF#000000##FFFFFF
##3027A21.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3027a2;
/* rgb */ color: rgb(48, 39, 162);
/* oklch */ color: oklch(37.9% 0.187 275.9);
Tailwind
colors: {
  custom: {
    50: '#7a63bf',
    500: '#3027a2',
    950: '#000000',
  },
}
SCSS
$custom: #3027a2;
$custom-light: #7a63bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3027a2",
  "rgb": {
    "r": 48,
    "g": 39,
    "b": 162
  },
  "hsl": {
    "h": 244.39,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.37918,
    "c": 0.1872,
    "h": 275.9
  },
  "luminance": 0.04688
}

Semantic roles & 50–950 ramp

primary
#3027A2
secondary
#BAC164
accent
#E443D9
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3027A2

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

Preview Lab → · Contrast checker → · Palette generator →

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