#302EAE#302EAE

#302EAE is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.2% C 0.195 H 273.9°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#302EAE
RGBrgb(48, 46, 174)
HSLhsl(241, 58%, 43%)
HSVhsv(241, 74%, 68%)
CMYKcmyk(72.4%, 73.6%, 0%, 31.8%)
CIE-LABlab(28.48, 43.01, -67.27)
CIE-LCHlch(28.48, 79.84, 302.59°)
OKLaboklab(40.17% 0.0132 -0.1946)
OKLCHoklch(40.17% 0.195 273.9)
XYZxyz(9.8334, 5.6374, 40.6061)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302EAE #ACAE2E
analogous
#2E6CAE #302EAE #702EAE
triadic
#302EAE #AE302E #2EAE30
tetradic
#302EAE #AE2E6C #ACAE2E #2EAE70
square
#302EAE #AE2E6C #ACAE2E #2EAE70
split-complementary
#302EAE #AE702E #6CAE2E
monochromatic
#15144D #23217E #302EAE #4C4ACF #7C7ADC

Accessibility & contrast

On white

9.87
#302EAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#302EAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302EAE
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302EAE#FFFFFF#000000##FFFFFF
##302EAE1.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B2
Deuteranopia (green-blind)
#003DAC
Tritanopia (blue-blind)
#00536B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #302eae;
/* rgb */ color: rgb(48, 46, 174);
/* oklch */ color: oklch(40.2% 0.195 273.9);
Tailwind
colors: {
  custom: {
    50: '#7c68c7',
    500: '#302eae',
    950: '#000000',
  },
}
SCSS
$custom: #302eae;
$custom-light: #7c68c7;
$custom-dark: #000000;
JSON
{
  "hex": "#302eae",
  "rgb": {
    "r": 48,
    "g": 46,
    "b": 174
  },
  "hsl": {
    "h": 240.938,
    "s": 58.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.40172,
    "c": 0.19503,
    "h": 273.9
  },
  "luminance": 0.05638
}

Semantic roles & 50–950 ramp

primary
#302EAE
secondary
#C3C474
accent
#E146DF
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #302EAE

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

Preview Lab → · Contrast checker → · Palette generator →

#302EAE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva