#302B92#302B92

#302B92 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.9% C 0.163 H 277.0°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#302B92
RGBrgb(48, 43, 146)
HSLhsl(243, 54%, 37%)
HSVhsv(243, 71%, 57%)
CMYKcmyk(67.1%, 70.5%, 0%, 42.7%)
CIE-LABlab(25.05, 35.31, -55.90)
CIE-LCHlch(25.05, 66.11, 302.28°)
OKLaboklab(36.88% 0.0198 -0.1614)
OKLCHoklch(36.88% 0.163 277)
XYZxyz(7.2694, 4.4308, 27.6607)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302B92 #8D922B
analogous
#2B5992 #302B92 #642B92
triadic
#302B92 #92302B #2B9230
tetradic
#302B92 #922B59 #8D922B #2B9264
square
#302B92 #922B59 #8D922B #2B9264
split-complementary
#302B92 #92642B #59922B
monochromatic
#110F33 #201D63 #302B92 #4039C1 #6B66D2

Accessibility & contrast

On white

11.13
#302B92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#302B92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302B92
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302B92#FFFFFF#000000##FFFFFF
##302B921.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004095
Deuteranopia (green-blind)
#003790
Tritanopia (blue-blind)
#00475B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #302b92;
/* rgb */ color: rgb(48, 43, 146);
/* oklch */ color: oklch(36.9% 0.163 277.0);
Tailwind
colors: {
  custom: {
    50: '#7665b3',
    500: '#302b92',
    950: '#000000',
  },
}
SCSS
$custom: #302b92;
$custom-light: #7665b3;
$custom-dark: #000000;
JSON
{
  "hex": "#302b92",
  "rgb": {
    "r": 48,
    "g": 43,
    "b": 146
  },
  "hsl": {
    "h": 242.913,
    "s": 54.497,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36877,
    "c": 0.16257,
    "h": 277
  },
  "luminance": 0.04431
}

Semantic roles & 50–950 ramp

primary
#302B92
secondary
#B4B861
accent
#DE4AD7
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #302B92

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

Preview Lab → · Contrast checker → · Palette generator →

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