#302E85#302E85

#302E85 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.2% C 0.141 H 277.7°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#302E85
RGBrgb(48, 46, 133)
HSLhsl(241, 49%, 35%)
HSVhsv(241, 65%, 52%)
CMYKcmyk(63.9%, 65.4%, 0%, 47.8%)
CIE-LABlab(24.56, 28.88, -48.61)
CIE-LCHlch(24.56, 56.54, 300.72°)
OKLaboklab(36.16% 0.0189 -0.14)
OKLCHoklch(36.16% 0.141 277.7)
XYZxyz(6.4282, 4.2753, 22.6722)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302E85 #83852E
analogous
#2E5885 #302E85 #5B2E85
triadic
#302E85 #85302E #2E8530
tetradic
#302E85 #852E58 #83852E #2E855B
square
#302E85 #852E58 #83852E #2E855B
split-complementary
#302E85 #855B2E #58852E
monochromatic
#0F0F2A #201E58 #302E85 #403EB2 #6664C9

Accessibility & contrast

On white

11.32
#302E85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#302E85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302E85
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302E85#FFFFFF#000000##FFFFFF
##302E851.0011.321.8611.32
#FFFFFF11.321.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E88
Deuteranopia (green-blind)
#003783
Tritanopia (blue-blind)
#004455
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #302e85;
/* rgb */ color: rgb(48, 46, 133);
/* oklch */ color: oklch(36.2% 0.141 277.7);
Tailwind
colors: {
  custom: {
    50: '#7367a9',
    500: '#302e85',
    950: '#000000',
  },
}
SCSS
$custom: #302e85;
$custom-light: #7367a9;
$custom-dark: #000000;
JSON
{
  "hex": "#302e85",
  "rgb": {
    "r": 48,
    "g": 46,
    "b": 133
  },
  "hsl": {
    "h": 241.379,
    "s": 48.603,
    "l": 35.098
  },
  "oklch": {
    "l": 0.36158,
    "c": 0.14125,
    "h": 277.7
  },
  "luminance": 0.04276
}

Semantic roles & 50–950 ramp

primary
#302E85
secondary
#AEB05F
accent
#D850D5
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #302E85

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

Preview Lab → · Contrast checker → · Palette generator →

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