#302E83#302E83

#302E83 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.0% C 0.138 H 277.9°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#302E83
RGBrgb(48, 46, 131)
HSLhsl(241, 48%, 35%)
HSVhsv(241, 65%, 51%)
CMYKcmyk(63.4%, 64.9%, 0%, 48.6%)
CIE-LABlab(24.39, 28.17, -47.64)
CIE-LCHlch(24.39, 55.35, 300.60°)
OKLaboklab(35.98% 0.019 -0.1371)
OKLCHoklch(35.98% 0.138 277.9)
XYZxyz(6.2913, 4.2206, 21.9514)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302E83 #81832E
analogous
#2E5683 #302E83 #5B2E83
triadic
#302E83 #83302E #2E8330
tetradic
#302E83 #832E56 #81832E #2E835B
square
#302E83 #832E56 #81832E #2E835B
split-complementary
#302E83 #835B2E #56832E
monochromatic
#0F0E28 #1F1E56 #302E83 #413EB0 #6663C8

Accessibility & contrast

On white

11.39
#302E83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#302E83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302E83
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302E83#FFFFFF#000000##FFFFFF
##302E831.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D86
Deuteranopia (green-blind)
#003681
Tritanopia (blue-blind)
#004354
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #302e83;
/* rgb */ color: rgb(48, 46, 131);
/* oklch */ color: oklch(36.0% 0.138 277.9);
Tailwind
colors: {
  custom: {
    50: '#7267a8',
    500: '#302e83',
    950: '#000000',
  },
}
SCSS
$custom: #302e83;
$custom-light: #7267a8;
$custom-dark: #000000;
JSON
{
  "hex": "#302e83",
  "rgb": {
    "r": 48,
    "g": 46,
    "b": 131
  },
  "hsl": {
    "h": 241.412,
    "s": 48.023,
    "l": 34.706
  },
  "oklch": {
    "l": 0.35977,
    "c": 0.13846,
    "h": 277.9
  },
  "luminance": 0.04221
}

Semantic roles & 50–950 ramp

primary
#302E83
secondary
#ADAF5E
accent
#D850D4
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #302E83

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

Preview Lab → · Contrast checker → · Palette generator →

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