#302EAC#302EAC

#302EAC is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.0% C 0.193 H 274.0°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#302EAC
RGBrgb(48, 46, 172)
HSLhsl(241, 58%, 43%)
HSVhsv(241, 73%, 67%)
CMYKcmyk(72.1%, 73.3%, 0%, 32.5%)
CIE-LABlab(28.27, 42.34, -66.41)
CIE-LCHlch(28.27, 78.76, 302.52°)
OKLaboklab(39.97% 0.0136 -0.1921)
OKLCHoklch(39.97% 0.193 274)
XYZxyz(9.6398, 5.5600, 39.5869)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302EAC #AAAC2E
analogous
#2E6BAC #302EAC #6F2EAC
triadic
#302EAC #AC302E #2EAC30
tetradic
#302EAC #AC2E6B #AAAC2E #2EAC6F
square
#302EAC #AC2E6B #AAAC2E #2EAC6F
split-complementary
#302EAC #AC6F2E #6BAC2E
monochromatic
#15144B #23217C #302EAC #4B49CE #7B79DB

Accessibility & contrast

On white

9.94
#302EAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#302EAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302EAC
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302EAC#FFFFFF#000000##FFFFFF
##302EAC1.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B0
Deuteranopia (green-blind)
#003DAA
Tritanopia (blue-blind)
#00526A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #302eac;
/* rgb */ color: rgb(48, 46, 172);
/* oklch */ color: oklch(40.0% 0.193 274.0);
Tailwind
colors: {
  custom: {
    50: '#7b68c6',
    500: '#302eac',
    950: '#000000',
  },
}
SCSS
$custom: #302eac;
$custom-light: #7b68c6;
$custom-dark: #000000;
JSON
{
  "hex": "#302eac",
  "rgb": {
    "r": 48,
    "g": 46,
    "b": 172
  },
  "hsl": {
    "h": 240.952,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.39965,
    "c": 0.19255,
    "h": 274
  },
  "luminance": 0.05561
}

Semantic roles & 50–950 ramp

primary
#302EAC
secondary
#C2C372
accent
#E147DF
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #302EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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