#302E82#302E82

#302E82 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.9% C 0.137 H 278.0°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#302E82
RGBrgb(48, 46, 130)
HSLhsl(241, 48%, 35%)
HSVhsv(241, 65%, 51%)
CMYKcmyk(63.1%, 64.6%, 0%, 49%)
CIE-LABlab(24.30, 27.82, -47.15)
CIE-LCHlch(24.30, 54.75, 300.54°)
OKLaboklab(35.89% 0.0191 -0.1357)
OKLCHoklch(35.89% 0.137 278)
XYZxyz(6.2239, 4.1936, 21.5962)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302E82 #80822E
analogous
#2E5682 #302E82 #5A2E82
triadic
#302E82 #82302E #2E8230
tetradic
#302E82 #822E56 #80822E #2E825A
square
#302E82 #822E56 #80822E #2E825A
split-complementary
#302E82 #825A2E #56822E
monochromatic
#0F0E28 #1F1E55 #302E82 #413EAF #6563C8

Accessibility & contrast

On white

11.42
#302E82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#302E82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302E82
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302E82#FFFFFF#000000##FFFFFF
##302E821.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D85
Deuteranopia (green-blind)
#003680
Tritanopia (blue-blind)
#004353
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #302e82;
/* rgb */ color: rgb(48, 46, 130);
/* oklch */ color: oklch(35.9% 0.137 278.0);
Tailwind
colors: {
  custom: {
    50: '#7267a7',
    500: '#302e82',
    950: '#000000',
  },
}
SCSS
$custom: #302e82;
$custom-light: #7267a7;
$custom-dark: #000000;
JSON
{
  "hex": "#302e82",
  "rgb": {
    "r": 48,
    "g": 46,
    "b": 130
  },
  "hsl": {
    "h": 241.429,
    "s": 47.727,
    "l": 34.51
  },
  "oklch": {
    "l": 0.35887,
    "c": 0.13704,
    "h": 278
  },
  "luminance": 0.04194
}

Semantic roles & 50–950 ramp

primary
#302E82
secondary
#ACAE5D
accent
#D750D4
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#09060F
muted
#7B7A7F

Preview Lab

Preview with #302E82

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

Preview Lab → · Contrast checker → · Palette generator →

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