#302A92#302A92

#302A92 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.7% C 0.164 H 277.2°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#302A92
RGBrgb(48, 42, 146)
HSLhsl(243, 55%, 37%)
HSVhsv(243, 71%, 57%)
CMYKcmyk(67.1%, 71.2%, 0%, 42.7%)
CIE-LABlab(24.82, 35.92, -56.26)
CIE-LCHlch(24.82, 66.75, 302.56°)
OKLaboklab(36.72% 0.0205 -0.1624)
OKLCHoklch(36.72% 0.164 277.2)
XYZxyz(7.2335, 4.3590, 27.6487)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302A92 #8C922A
analogous
#2A5892 #302A92 #642A92
triadic
#302A92 #92302A #2A9230
tetradic
#302A92 #922A58 #8C922A #2A9264
square
#302A92 #922A58 #8C922A #2A9264
split-complementary
#302A92 #92642A #58922A
monochromatic
#110F33 #201C62 #302A92 #4038C2 #6A64D2

Accessibility & contrast

On white

11.22
#302A92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#302A92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302A92
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302A92#FFFFFF#000000##FFFFFF
##302A921.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F95
Deuteranopia (green-blind)
#003690
Tritanopia (blue-blind)
#00465B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #302a92;
/* rgb */ color: rgb(48, 42, 146);
/* oklch */ color: oklch(36.7% 0.164 277.2);
Tailwind
colors: {
  custom: {
    50: '#7665b3',
    500: '#302a92',
    950: '#000000',
  },
}
SCSS
$custom: #302a92;
$custom-light: #7665b3;
$custom-dark: #000000;
JSON
{
  "hex": "#302a92",
  "rgb": {
    "r": 48,
    "g": 42,
    "b": 146
  },
  "hsl": {
    "h": 243.462,
    "s": 55.319,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36717,
    "c": 0.16372,
    "h": 277.2
  },
  "luminance": 0.0436
}

Semantic roles & 50–950 ramp

primary
#302A92
secondary
#B3B85F
accent
#DF49D6
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0511
muted
#7C7A80

Preview Lab

Preview with #302A92

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

Preview Lab → · Contrast checker → · Palette generator →

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