#3021AF#3021AF

#3021AF is a dark, highly saturated blue. Relative luminance 0.048; OKLCH L 38.6% C 0.208 H 275.2°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#3021AF
RGBrgb(48, 33, 175)
HSLhsl(246, 68%, 41%)
HSVhsv(246, 81%, 69%)
CMYKcmyk(72.6%, 81.1%, 0%, 31.4%)
CIE-LABlab(26.19, 50.18, -71.66)
CIE-LCHlch(26.19, 87.48, 305.00°)
OKLaboklab(38.59% 0.0188 -0.2072)
OKLCHoklch(38.59% 0.208 275.2)
XYZxyz(9.4981, 4.8103, 40.9771)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3021AF #A0AF21
analogous
#2159AF #3021AF #7721AF
triadic
#3021AF #AF3021 #21AF30
tetradic
#3021AF #AF2159 #A0AF21 #21AF77
square
#3021AF #AF2159 #A0AF21 #21AF77
split-complementary
#3021AF #AF7721 #59AF21
monochromatic
#140E48 #22177C #3021AF #4634D9 #7568E3

Accessibility & contrast

On white

10.70
#3021AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#3021AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3021AF
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3021AF#FFFFFF#000000##FFFFFF
##3021AF1.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B3
Deuteranopia (green-blind)
#0037AD
Tritanopia (blue-blind)
#004D69
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3021af;
/* rgb */ color: rgb(48, 33, 175);
/* oklch */ color: oklch(38.6% 0.208 275.2);
Tailwind
colors: {
  custom: {
    50: '#7d61c8',
    500: '#3021af',
    950: '#000000',
  },
}
SCSS
$custom: #3021af;
$custom-light: #7d61c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3021af",
  "rgb": {
    "r": 48,
    "g": 33,
    "b": 175
  },
  "hsl": {
    "h": 246.338,
    "s": 68.269,
    "l": 40.784
  },
  "oklch": {
    "l": 0.38594,
    "c": 0.20804,
    "h": 275.2
  },
  "luminance": 0.04811
}

Semantic roles & 50–950 ramp

primary
#3021AF
secondary
#BEC864
accent
#EB3DD9
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #3021AF

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

Preview Lab → · Contrast checker → · Palette generator →

#3021AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva