#3028AC#3028AC

#3028AC is a dark, vivid blue. Relative luminance 0.051; OKLCH L 39.1% C 0.198 H 274.8°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#3028AC
RGBrgb(48, 40, 172)
HSLhsl(244, 62%, 42%)
HSVhsv(244, 77%, 67%)
CMYKcmyk(72.1%, 76.7%, 0%, 32.5%)
CIE-LABlab(27.08, 45.69, -68.37)
CIE-LCHlch(27.08, 82.24, 303.75°)
OKLaboklab(39.12% 0.0166 -0.1977)
OKLCHoklch(39.12% 0.198 274.8)
XYZxyz(9.4216, 5.1236, 39.5142)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3028AC #A4AC28
analogous
#2862AC #3028AC #7228AC
triadic
#3028AC #AC3028 #28AC30
tetradic
#3028AC #AC2862 #A4AC28 #28AC72
square
#3028AC #AC2862 #A4AC28 #28AC72
split-complementary
#3028AC #AC7228 #62AC28
monochromatic
#141149 #221C7A #3028AC #483FD2 #7771DE

Accessibility & contrast

On white

10.37
#3028AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#3028AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3028AC
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3028AC#FFFFFF#000000##FFFFFF
##3028AC1.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B0
Deuteranopia (green-blind)
#003AAA
Tritanopia (blue-blind)
#004F69
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3028ac;
/* rgb */ color: rgb(48, 40, 172);
/* oklch */ color: oklch(39.1% 0.198 274.8);
Tailwind
colors: {
  custom: {
    50: '#7c64c6',
    500: '#3028ac',
    950: '#000000',
  },
}
SCSS
$custom: #3028ac;
$custom-light: #7c64c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3028ac",
  "rgb": {
    "r": 48,
    "g": 40,
    "b": 172
  },
  "hsl": {
    "h": 243.636,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.39122,
    "c": 0.19844,
    "h": 274.8
  },
  "luminance": 0.05125
}

Semantic roles & 50–950 ramp

primary
#3028AC
secondary
#BFC56B
accent
#E542DB
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3028AC

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

Preview Lab → · Contrast checker → · Palette generator →

#3028AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva