#3027A3#3027A3

#3027A3 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 38.0% C 0.188 H 275.8°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#3027A3
RGBrgb(48, 39, 163)
HSLhsl(244, 61%, 40%)
HSVhsv(244, 76%, 64%)
CMYKcmyk(70.6%, 76.1%, 0%, 36.1%)
CIE-LABlab(25.93, 43.33, -64.85)
CIE-LCHlch(25.93, 77.99, 303.75°)
OKLaboklab(38.02% 0.0191 -0.1875)
OKLCHoklch(38.02% 0.188 275.8)
XYZxyz(8.5531, 4.7230, 35.1041)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3027A3 #9AA327
analogous
#275CA3 #3027A3 #6E27A3
triadic
#3027A3 #A33027 #27A330
tetradic
#3027A3 #A3275C #9AA327 #27A36E
square
#3027A3 #A3275C #9AA327 #27A36E
split-complementary
#3027A3 #A36E27 #5CA327
monochromatic
#130F40 #211B72 #3027A3 #4338CF #7269DB

Accessibility & contrast

On white

10.80
#3027A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3027A3
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3027A3#FFFFFF#000000##FFFFFF
##3027A31.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A7
Deuteranopia (green-blind)
#0038A1
Tritanopia (blue-blind)
#004B63
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3027a3;
/* rgb */ color: rgb(48, 39, 163);
/* oklch */ color: oklch(38.0% 0.188 275.8);
Tailwind
colors: {
  custom: {
    50: '#7a63bf',
    500: '#3027a3',
    950: '#000000',
  },
}
SCSS
$custom: #3027a3;
$custom-light: #7a63bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3027a3",
  "rgb": {
    "r": 48,
    "g": 39,
    "b": 163
  },
  "hsl": {
    "h": 244.355,
    "s": 61.386,
    "l": 39.608
  },
  "oklch": {
    "l": 0.38024,
    "c": 0.18843,
    "h": 275.8
  },
  "luminance": 0.04724
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3027A3

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

Preview Lab → · Contrast checker → · Palette generator →

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