#3027A5#3027A5

#3027A5 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.2% C 0.191 H 275.6°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#3027A5
RGBrgb(48, 39, 165)
HSLhsl(244, 62%, 40%)
HSVhsv(244, 76%, 65%)
CMYKcmyk(70.9%, 76.4%, 0%, 35.3%)
CIE-LABlab(26.14, 43.98, -65.71)
CIE-LCHlch(26.14, 79.06, 303.79°)
OKLaboklab(38.24% 0.0186 -0.19)
OKLCHoklch(38.24% 0.191 275.6)
XYZxyz(8.7337, 4.7952, 36.0553)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3027A5 #9CA527
analogous
#275DA5 #3027A5 #6F27A5
triadic
#3027A5 #A53027 #27A530
tetradic
#3027A5 #A5275D #9CA527 #27A56F
square
#3027A5 #A5275D #9CA527 #27A56F
split-complementary
#3027A5 #A56F27 #5DA527
monochromatic
#131042 #221B74 #3027A5 #4439D0 #736ADC

Accessibility & contrast

On white

10.72
#3027A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#3027A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3027A5
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3027A5#FFFFFF#000000##FFFFFF
##3027A51.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A9
Deuteranopia (green-blind)
#0038A3
Tritanopia (blue-blind)
#004C64
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3027a5;
/* rgb */ color: rgb(48, 39, 165);
/* oklch */ color: oklch(38.2% 0.191 275.6);
Tailwind
colors: {
  custom: {
    50: '#7a64c1',
    500: '#3027a5',
    950: '#000000',
  },
}
SCSS
$custom: #3027a5;
$custom-light: #7a64c1;
$custom-dark: #000000;
JSON
{
  "hex": "#3027a5",
  "rgb": {
    "r": 48,
    "g": 39,
    "b": 165
  },
  "hsl": {
    "h": 244.286,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.38237,
    "c": 0.19087,
    "h": 275.6
  },
  "luminance": 0.04796
}

Semantic roles & 50–950 ramp

primary
#3027A5
secondary
#BCC266
accent
#E543D9
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3027A5

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

Preview Lab → · Contrast checker → · Palette generator →

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