#302EBF#302EBF

#302EBF is a dark, highly saturated blue. Relative luminance 0.063; OKLCH L 42.0% C 0.216 H 272.7°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#302EBF
RGBrgb(48, 46, 191)
HSLhsl(241, 61%, 46%)
HSVhsv(241, 76%, 75%)
CMYKcmyk(74.9%, 75.9%, 0%, 25.1%)
CIE-LABlab(30.26, 48.59, -74.43)
CIE-LCHlch(30.26, 88.89, 303.14°)
OKLaboklab(41.97% 0.01 -0.2154)
OKLCHoklch(41.97% 0.216 272.7)
XYZxyz(11.5967, 6.3427, 49.8932)
Luminance0.0634 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302EBF #BDBF2E
analogous
#2E75BF #302EBF #792EBF
triadic
#302EBF #BF302E #2EBF30
tetradic
#302EBF #BF2E75 #BDBF2E #2EBF79
square
#302EBF #BF2E75 #BDBF2E #2EBF79
split-complementary
#302EBF #BF792E #75BF2E
monochromatic
#17165C #24228E #302EBF #5654D6 #8786E2

Accessibility & contrast

On white

9.26
#302EBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#302EBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302EBF
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302EBF#FFFFFF#000000##FFFFFF
##302EBF1.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC3
Deuteranopia (green-blind)
#0040BC
Tritanopia (blue-blind)
#005975
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #302ebf;
/* rgb */ color: rgb(48, 46, 191);
/* oklch */ color: oklch(42.0% 0.216 272.7);
Tailwind
colors: {
  custom: {
    50: '#8069d4',
    500: '#302ebf',
    950: '#000000',
  },
}
SCSS
$custom: #302ebf;
$custom-light: #8069d4;
$custom-dark: #000000;
JSON
{
  "hex": "#302ebf",
  "rgb": {
    "r": 48,
    "g": 46,
    "b": 191
  },
  "hsl": {
    "h": 240.828,
    "s": 61.181,
    "l": 46.471
  },
  "oklch": {
    "l": 0.41965,
    "c": 0.21563,
    "h": 272.7
  },
  "luminance": 0.06344
}

Semantic roles & 50–950 ramp

primary
#302EBF
secondary
#CACB7E
accent
#E444E2
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #302EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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