#302EAA#302EAA

#302EAA is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.8% C 0.190 H 274.2°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#302EAA
RGBrgb(48, 46, 170)
HSLhsl(241, 57%, 42%)
HSVhsv(241, 73%, 67%)
CMYKcmyk(71.8%, 72.9%, 0%, 33.3%)
CIE-LABlab(28.07, 41.67, -65.54)
CIE-LCHlch(28.07, 77.67, 302.44°)
OKLaboklab(39.76% 0.0139 -0.1895)
OKLCHoklch(39.76% 0.19 274.2)
XYZxyz(9.4492, 5.4837, 38.5829)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302EAA #A8AA2E
analogous
#2E6AAA #302EAA #6E2EAA
triadic
#302EAA #AA302E #2EAA30
tetradic
#302EAA #AA2E6A #A8AA2E #2EAA6E
square
#302EAA #AA2E6A #A8AA2E #2EAA6E
split-complementary
#302EAA #AA6E2E #6AAA2E
monochromatic
#15144A #22217A #302EAA #4A48CD #7A78DA

Accessibility & contrast

On white

10.01
#302EAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#302EAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302EAA
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302EAA#FFFFFF#000000##FFFFFF
##302EAA1.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AE
Deuteranopia (green-blind)
#003CA8
Tritanopia (blue-blind)
#005169
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #302eaa;
/* rgb */ color: rgb(48, 46, 170);
/* oklch */ color: oklch(39.8% 0.190 274.2);
Tailwind
colors: {
  custom: {
    50: '#7b68c4',
    500: '#302eaa',
    950: '#000000',
  },
}
SCSS
$custom: #302eaa;
$custom-light: #7b68c4;
$custom-dark: #000000;
JSON
{
  "hex": "#302eaa",
  "rgb": {
    "r": 48,
    "g": 46,
    "b": 170
  },
  "hsl": {
    "h": 240.968,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.39759,
    "c": 0.19005,
    "h": 274.2
  },
  "luminance": 0.05485
}

Semantic roles & 50–950 ramp

primary
#302EAA
secondary
#C1C371
accent
#E147DE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #302EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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