#3027AB#3027AB

#3027AB is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.9% C 0.198 H 275.0°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#3027AB
RGBrgb(48, 39, 171)
HSLhsl(244, 63%, 41%)
HSVhsv(244, 77%, 67%)
CMYKcmyk(71.9%, 77.2%, 0%, 32.9%)
CIE-LABlab(26.79, 45.91, -68.26)
CIE-LCHlch(26.79, 82.26, 303.92°)
OKLaboklab(38.88% 0.0173 -0.1974)
OKLCHoklch(38.88% 0.198 275)
XYZxyz(9.2927, 5.0188, 38.9992)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3027AB #A2AB27
analogous
#2760AB #3027AB #7227AB
triadic
#3027AB #AB3027 #27AB30
tetradic
#3027AB #AB2760 #A2AB27 #27AB72
square
#3027AB #AB2760 #A2AB27 #27AB72
split-complementary
#3027AB #AB7227 #60AB27
monochromatic
#141047 #221C79 #3027AB #473DD3 #766EDE

Accessibility & contrast

On white

10.48
#3027AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##3027AB#FFFFFF#000000##FFFFFF
##3027AB1.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AF
Deuteranopia (green-blind)
#0039A9
Tritanopia (blue-blind)
#004E68
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3027ab;
/* rgb */ color: rgb(48, 39, 171);
/* oklch */ color: oklch(38.9% 0.198 275.0);
Tailwind
colors: {
  custom: {
    50: '#7c64c5',
    500: '#3027ab',
    950: '#000000',
  },
}
SCSS
$custom: #3027ab;
$custom-light: #7c64c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3027ab",
  "rgb": {
    "r": 48,
    "g": 39,
    "b": 171
  },
  "hsl": {
    "h": 244.091,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.38882,
    "c": 0.19816,
    "h": 275
  },
  "luminance": 0.0502
}

Semantic roles & 50–950 ramp

primary
#3027AB
secondary
#BEC569
accent
#E642DB
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #3027AB

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

Preview Lab → · Contrast checker → · Palette generator →

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