#3027A8#3027A8

#3027A8 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.6% C 0.195 H 275.3°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#3027A8
RGBrgb(48, 39, 168)
HSLhsl(244, 62%, 41%)
HSVhsv(244, 77%, 66%)
CMYKcmyk(71.4%, 76.8%, 0%, 34.1%)
CIE-LABlab(26.46, 44.94, -66.99)
CIE-LCHlch(26.46, 80.67, 303.86°)
OKLaboklab(38.56% 0.018 -0.1937)
OKLCHoklch(38.56% 0.195 275.3)
XYZxyz(9.0100, 4.9057, 37.5103)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3027A8 #9FA827
analogous
#275EA8 #3027A8 #7027A8
triadic
#3027A8 #A83027 #27A830
tetradic
#3027A8 #A8275E #9FA827 #27A870
square
#3027A8 #A8275E #9FA827 #27A870
split-complementary
#3027A8 #A87027 #5EA827
monochromatic
#141045 #221B76 #3027A8 #453BD1 #746CDD

Accessibility & contrast

On white

10.60
#3027A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#3027A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3027A8
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3027A8#FFFFFF#000000##FFFFFF
##3027A81.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AC
Deuteranopia (green-blind)
#0039A6
Tritanopia (blue-blind)
#004D66
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3027a8;
/* rgb */ color: rgb(48, 39, 168);
/* oklch */ color: oklch(38.6% 0.195 275.3);
Tailwind
colors: {
  custom: {
    50: '#7b64c3',
    500: '#3027a8',
    950: '#000000',
  },
}
SCSS
$custom: #3027a8;
$custom-light: #7b64c3;
$custom-dark: #000000;
JSON
{
  "hex": "#3027a8",
  "rgb": {
    "r": 48,
    "g": 39,
    "b": 168
  },
  "hsl": {
    "h": 244.186,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.38559,
    "c": 0.19453,
    "h": 275.3
  },
  "luminance": 0.04907
}

Semantic roles & 50–950 ramp

primary
#3027A8
secondary
#BDC367
accent
#E542DA
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #3027A8

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

Preview Lab → · Contrast checker → · Palette generator →

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