#3028AA#3028AA

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

Color values

HEX#3028AA
RGBrgb(48, 40, 170)
HSLhsl(244, 62%, 41%)
HSVhsv(244, 76%, 67%)
CMYKcmyk(71.8%, 76.5%, 0%, 33.3%)
CIE-LABlab(26.87, 45.05, -67.53)
CIE-LCHlch(26.87, 81.17, 303.71°)
OKLaboklab(38.91% 0.017 -0.1953)
OKLCHoklch(38.91% 0.196 275)
XYZxyz(9.2310, 5.0474, 38.5102)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3028AA #A2AA28
analogous
#2861AA #3028AA #7128AA
triadic
#3028AA #AA3028 #28AA30
tetradic
#3028AA #AA2861 #A2AA28 #28AA71
square
#3028AA #AA2861 #A2AA28 #28AA71
split-complementary
#3028AA #AA7128 #61AA28
monochromatic
#141147 #221C78 #3028AA #473ED2 #766FDD

Accessibility & contrast

On white

10.45
#3028AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#3028AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3028AA#FFFFFF#000000##FFFFFF
##3028AA1.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.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: #3028aa;
/* rgb */ color: rgb(48, 40, 170);
/* oklch */ color: oklch(38.9% 0.196 275.0);
Tailwind
colors: {
  custom: {
    50: '#7b64c5',
    500: '#3028aa',
    950: '#000000',
  },
}
SCSS
$custom: #3028aa;
$custom-light: #7b64c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3028aa",
  "rgb": {
    "r": 48,
    "g": 40,
    "b": 170
  },
  "hsl": {
    "h": 243.692,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.38908,
    "c": 0.19601,
    "h": 275
  },
  "luminance": 0.05048
}

Semantic roles & 50–950 ramp

primary
#3028AA
secondary
#BEC46A
accent
#E543DB
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3028AA

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

Preview Lab → · Contrast checker → · Palette generator →

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