#302E95#302E95

#302E95 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.7% C 0.163 H 276.0°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#302E95
RGBrgb(48, 46, 149)
HSLhsl(241, 53%, 38%)
HSVhsv(241, 69%, 58%)
CMYKcmyk(67.8%, 69.1%, 0%, 41.6%)
CIE-LABlab(26.02, 34.49, -56.16)
CIE-LCHlch(26.02, 65.90, 301.56°)
OKLaboklab(37.66% 0.0171 -0.1621)
OKLCHoklch(37.66% 0.163 276)
XYZxyz(7.6190, 4.7516, 28.9436)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302E95 #93952E
analogous
#2E5F95 #302E95 #632E95
triadic
#302E95 #95302E #2E9530
tetradic
#302E95 #952E5F #93952E #2E9563
square
#302E95 #952E5F #93952E #2E9563
split-complementary
#302E95 #95632E #5F952E
monochromatic
#121137 #212066 #302E95 #403DC3 #6E6CD2

Accessibility & contrast

On white

10.77
#302E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#302E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302E95
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302E95#FFFFFF#000000##FFFFFF
##302E951.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004298
Deuteranopia (green-blind)
#003993
Tritanopia (blue-blind)
#00495D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #302e95;
/* rgb */ color: rgb(48, 46, 149);
/* oklch */ color: oklch(37.7% 0.163 276.0);
Tailwind
colors: {
  custom: {
    50: '#7667b5',
    500: '#302e95',
    950: '#000000',
  },
}
SCSS
$custom: #302e95;
$custom-light: #7667b5;
$custom-dark: #000000;
JSON
{
  "hex": "#302e95",
  "rgb": {
    "r": 48,
    "g": 46,
    "b": 149
  },
  "hsl": {
    "h": 241.165,
    "s": 52.821,
    "l": 38.235
  },
  "oklch": {
    "l": 0.37662,
    "c": 0.16302,
    "h": 276
  },
  "luminance": 0.04752
}

Semantic roles & 50–950 ramp

primary
#302E95
secondary
#B7B966
accent
#DC4CD9
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #302E95

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

Preview Lab → · Contrast checker → · Palette generator →

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