#302B83#302B83

#302B83 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.4% C 0.142 H 278.8°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#302B83
RGBrgb(48, 43, 131)
HSLhsl(243, 51%, 34%)
HSVhsv(243, 67%, 51%)
CMYKcmyk(63.4%, 67.2%, 0%, 48.6%)
CIE-LABlab(23.65, 30.12, -48.84)
CIE-LCHlch(23.65, 57.38, 301.66°)
OKLaboklab(35.44% 0.0218 -0.1407)
OKLCHoklch(35.44% 0.142 278.8)
XYZxyz(6.1782, 3.9944, 21.9137)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302B83 #7E832B
analogous
#2B5283 #302B83 #5C2B83
triadic
#302B83 #83302B #2B8330
tetradic
#302B83 #832B52 #7E832B #2B835C
square
#302B83 #832B52 #7E832B #2B835C
split-complementary
#302B83 #835C2B #52832B
monochromatic
#0E0D27 #1F1C55 #302B83 #413AB1 #645ECA

Accessibility & contrast

On white

11.67
#302B83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#302B83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302B83
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302B83#FFFFFF#000000##FFFFFF
##302B831.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C86
Deuteranopia (green-blind)
#003581
Tritanopia (blue-blind)
#004253
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #302b83;
/* rgb */ color: rgb(48, 43, 131);
/* oklch */ color: oklch(35.4% 0.142 278.8);
Tailwind
colors: {
  custom: {
    50: '#7365a8',
    500: '#302b83',
    950: '#000000',
  },
}
SCSS
$custom: #302b83;
$custom-light: #7365a8;
$custom-dark: #000000;
JSON
{
  "hex": "#302b83",
  "rgb": {
    "r": 48,
    "g": 43,
    "b": 131
  },
  "hsl": {
    "h": 243.409,
    "s": 50.575,
    "l": 34.118
  },
  "oklch": {
    "l": 0.35441,
    "c": 0.14235,
    "h": 278.8
  },
  "luminance": 0.03995
}

Semantic roles & 50–950 ramp

primary
#302B83
secondary
#ABB05A
accent
#DA4ED2
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #302B83

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

Preview Lab → · Contrast checker → · Palette generator →

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