#302ECF#302ECF

#302ECF is a dark, highly saturated blue. Relative luminance 0.071; OKLCH L 43.7% C 0.234 H 271.7°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#302ECF
RGBrgb(48, 46, 207)
HSLhsl(241, 64%, 50%)
HSVhsv(241, 78%, 81%)
CMYKcmyk(76.8%, 77.8%, 0%, 18.8%)
CIE-LABlab(32.00, 53.68, -80.91)
CIE-LCHlch(32.00, 97.10, 303.56°)
OKLaboklab(43.7% 0.0069 -0.2342)
OKLCHoklch(43.7% 0.234 271.7)
XYZxyz(13.4546, 7.0859, 59.6780)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302ECF #CDCF2E
analogous
#2E7DCF #302ECF #802ECF
triadic
#302ECF #CF302E #2ECF30
tetradic
#302ECF #CF2E7D #CDCF2E #2ECF80
square
#302ECF #CF2E7D #CDCF2E #2ECF80
split-complementary
#302ECF #CF802E #7DCF2E
monochromatic
#19186B #24239D #302ECF #605FDB #9291E7

Accessibility & contrast

On white

8.69
#302ECF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#302ECF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302ECF
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302ECF#FFFFFF#000000##FFFFFF
##302ECF1.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053D4
Deuteranopia (green-blind)
#0043CC
Tritanopia (blue-blind)
#005F7E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #302ecf;
/* rgb */ color: rgb(48, 46, 207);
/* oklch */ color: oklch(43.7% 0.234 271.7);
Tailwind
colors: {
  custom: {
    50: '#846adf',
    500: '#302ecf',
    950: '#000000',
  },
}
SCSS
$custom: #302ecf;
$custom-light: #846adf;
$custom-dark: #000000;
JSON
{
  "hex": "#302ecf",
  "rgb": {
    "r": 48,
    "g": 46,
    "b": 207
  },
  "hsl": {
    "h": 240.745,
    "s": 63.636,
    "l": 49.608
  },
  "oklch": {
    "l": 0.43699,
    "c": 0.23433,
    "h": 271.7
  },
  "luminance": 0.07087
}

Semantic roles & 50–950 ramp

primary
#302ECF
secondary
#D0D188
accent
#E741E5
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #302ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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