#302F83#302F83

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

Color values

HEX#302F83
RGBrgb(48, 47, 131)
HSLhsl(241, 47%, 35%)
HSVhsv(241, 64%, 51%)
CMYKcmyk(63.4%, 64.1%, 0%, 48.6%)
CIE-LABlab(24.64, 27.52, -47.23)
CIE-LCHlch(24.64, 54.66, 300.22°)
OKLaboklab(36.16% 0.0181 -0.1359)
OKLCHoklch(36.16% 0.137 277.6)
XYZxyz(6.3309, 4.2996, 21.9646)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302F83 #82832F
analogous
#2F5883 #302F83 #5A2F83
triadic
#302F83 #83302F #2F8330
tetradic
#302F83 #832F58 #82832F #2F835A
square
#302F83 #832F58 #82832F #2F835A
split-complementary
#302F83 #835A2F #58832F
monochromatic
#0F0F29 #1F1F56 #302F83 #413FB0 #6665C8

Accessibility & contrast

On white

11.29
#302F83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #302F83
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302F83#FFFFFF#000000##FFFFFF
##302F831.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E86
Deuteranopia (green-blind)
#003781
Tritanopia (blue-blind)
#004454
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #302f83;
/* rgb */ color: rgb(48, 47, 131);
/* oklch */ color: oklch(36.2% 0.137 277.6);
Tailwind
colors: {
  custom: {
    50: '#7268a8',
    500: '#302f83',
    950: '#000000',
  },
}
SCSS
$custom: #302f83;
$custom-light: #7268a8;
$custom-dark: #000000;
JSON
{
  "hex": "#302f83",
  "rgb": {
    "r": 48,
    "g": 47,
    "b": 131
  },
  "hsl": {
    "h": 240.714,
    "s": 47.191,
    "l": 34.902
  },
  "oklch": {
    "l": 0.3616,
    "c": 0.13714,
    "h": 277.6
  },
  "luminance": 0.043
}

Semantic roles & 50–950 ramp

primary
#302F83
secondary
#AEAF5F
accent
#D751D5
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #302F83

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

Preview Lab → · Contrast checker → · Palette generator →

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