#3027A6#3027A6

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

Color values

HEX#3027A6
RGBrgb(48, 39, 166)
HSLhsl(244, 62%, 40%)
HSVhsv(244, 77%, 65%)
CMYKcmyk(71.1%, 76.5%, 0%, 34.9%)
CIE-LABlab(26.25, 44.30, -66.14)
CIE-LCHlch(26.25, 79.60, 303.81°)
OKLaboklab(38.34% 0.0184 -0.1912)
OKLCHoklch(38.34% 0.192 275.5)
XYZxyz(8.8251, 4.8318, 36.5365)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3027A6 #9DA627
analogous
#275DA6 #3027A6 #6F27A6
triadic
#3027A6 #A63027 #27A630
tetradic
#3027A6 #A6275D #9DA627 #27A66F
square
#3027A6 #A6275D #9DA627 #27A66F
split-complementary
#3027A6 #A66F27 #5DA627
monochromatic
#131043 #221B74 #3027A6 #443AD1 #736BDC

Accessibility & contrast

On white

10.68
#3027A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#3027A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3027A6
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3027A6#FFFFFF#000000##FFFFFF
##3027A61.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AA
Deuteranopia (green-blind)
#0038A4
Tritanopia (blue-blind)
#004C65
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3027a6;
/* rgb */ color: rgb(48, 39, 166);
/* oklch */ color: oklch(38.3% 0.192 275.5);
Tailwind
colors: {
  custom: {
    50: '#7b64c2',
    500: '#3027a6',
    950: '#000000',
  },
}
SCSS
$custom: #3027a6;
$custom-light: #7b64c2;
$custom-dark: #000000;
JSON
{
  "hex": "#3027a6",
  "rgb": {
    "r": 48,
    "g": 39,
    "b": 166
  },
  "hsl": {
    "h": 244.252,
    "s": 61.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.38344,
    "c": 0.1921,
    "h": 275.5
  },
  "luminance": 0.04833
}

Semantic roles & 50–950 ramp

primary
#3027A6
secondary
#BCC366
accent
#E543DA
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #3027A6

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

Preview Lab → · Contrast checker → · Palette generator →

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