#302EBE#302EBE

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

Color values

HEX#302EBE
RGBrgb(48, 46, 190)
HSLhsl(241, 61%, 46%)
HSVhsv(241, 76%, 75%)
CMYKcmyk(74.7%, 75.8%, 0%, 25.5%)
CIE-LABlab(30.15, 48.27, -74.02)
CIE-LCHlch(30.15, 88.36, 303.11°)
OKLaboklab(41.86% 0.0102 -0.2142)
OKLCHoklch(41.86% 0.214 272.7)
XYZxyz(11.4871, 6.2989, 49.3156)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302EBE #BCBE2E
analogous
#2E74BE #302EBE #782EBE
triadic
#302EBE #BE302E #2EBE30
tetradic
#302EBE #BE2E74 #BCBE2E #2EBE78
square
#302EBE #BE2E74 #BCBE2E #2EBE78
split-complementary
#302EBE #BE782E #74BE2E
monochromatic
#17165B #24228D #302EBE #5554D6 #8685E1

Accessibility & contrast

On white

9.29
#302EBE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#302EBE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302EBE
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302EBE#FFFFFF#000000##FFFFFF
##302EBE1.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC2
Deuteranopia (green-blind)
#0040BB
Tritanopia (blue-blind)
#005974
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #302ebe;
/* rgb */ color: rgb(48, 46, 190);
/* oklch */ color: oklch(41.9% 0.214 272.7);
Tailwind
colors: {
  custom: {
    50: '#8069d3',
    500: '#302ebe',
    950: '#000000',
  },
}
SCSS
$custom: #302ebe;
$custom-light: #8069d3;
$custom-dark: #000000;
JSON
{
  "hex": "#302ebe",
  "rgb": {
    "r": 48,
    "g": 46,
    "b": 190
  },
  "hsl": {
    "h": 240.833,
    "s": 61.017,
    "l": 46.275
  },
  "oklch": {
    "l": 0.41858,
    "c": 0.21444,
    "h": 272.7
  },
  "luminance": 0.063
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #302EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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