#3027AA#3027AA

#3027AA is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.8% C 0.197 H 275.1°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#3027AA
RGBrgb(48, 39, 170)
HSLhsl(244, 63%, 41%)
HSVhsv(244, 77%, 67%)
CMYKcmyk(71.8%, 77.1%, 0%, 33.3%)
CIE-LABlab(26.68, 45.59, -67.84)
CIE-LCHlch(26.68, 81.73, 303.90°)
OKLaboklab(38.77% 0.0175 -0.1962)
OKLCHoklch(38.77% 0.197 275.1)
XYZxyz(9.1977, 4.9808, 38.4991)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3027AA #A1AA27
analogous
#275FAA #3027AA #7127AA
triadic
#3027AA #AA3027 #27AA30
tetradic
#3027AA #AA275F #A1AA27 #27AA71
square
#3027AA #AA275F #A1AA27 #27AA71
split-complementary
#3027AA #AA7127 #5FAA27
monochromatic
#141046 #221C78 #3027AA #463CD2 #756EDE

Accessibility & contrast

On white

10.52
#3027AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#3027AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3027AA#FFFFFF#000000##FFFFFF
##3027AA1.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AE
Deuteranopia (green-blind)
#0039A8
Tritanopia (blue-blind)
#004E67
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3027aa;
/* rgb */ color: rgb(48, 39, 170);
/* oklch */ color: oklch(38.8% 0.197 275.1);
Tailwind
colors: {
  custom: {
    50: '#7b64c5',
    500: '#3027aa',
    950: '#000000',
  },
}
SCSS
$custom: #3027aa;
$custom-light: #7b64c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3027aa",
  "rgb": {
    "r": 48,
    "g": 39,
    "b": 170
  },
  "hsl": {
    "h": 244.122,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.38774,
    "c": 0.19695,
    "h": 275.1
  },
  "luminance": 0.04982
}

Semantic roles & 50–950 ramp

primary
#3027AA
secondary
#BEC469
accent
#E642DA
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #3027AA

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

Preview Lab → · Contrast checker → · Palette generator →

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