#302F93#302F93

#302F93 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.6% C 0.159 H 276.0°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#302F93
RGBrgb(48, 47, 147)
HSLhsl(241, 52%, 38%)
HSVhsv(241, 68%, 58%)
CMYKcmyk(67.3%, 68%, 0%, 42.4%)
CIE-LABlab(26.06, 33.16, -54.85)
CIE-LCHlch(26.06, 64.10, 301.16°)
OKLaboklab(37.64% 0.0166 -0.1583)
OKLCHoklch(37.64% 0.159 276)
XYZxyz(7.5002, 4.7673, 28.1230)
Luminance0.0477 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302F93 #92932F
analogous
#2F6093 #302F93 #622F93
triadic
#302F93 #93302F #2F9330
tetradic
#302F93 #932F60 #92932F #2F9362
square
#302F93 #932F60 #92932F #2F9362
split-complementary
#302F93 #93622F #60932F
monochromatic
#121136 #212065 #302F93 #3F3EC1 #6D6CD0

Accessibility & contrast

On white

10.75
#302F93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#302F93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302F93
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302F93#FFFFFF#000000##FFFFFF
##302F931.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004296
Deuteranopia (green-blind)
#003991
Tritanopia (blue-blind)
#00495D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #302f93;
/* rgb */ color: rgb(48, 47, 147);
/* oklch */ color: oklch(37.6% 0.159 276.0);
Tailwind
colors: {
  custom: {
    50: '#7668b4',
    500: '#302f93',
    950: '#000000',
  },
}
SCSS
$custom: #302f93;
$custom-light: #7668b4;
$custom-dark: #000000;
JSON
{
  "hex": "#302f93",
  "rgb": {
    "r": 48,
    "g": 47,
    "b": 147
  },
  "hsl": {
    "h": 240.6,
    "s": 51.546,
    "l": 38.039
  },
  "oklch": {
    "l": 0.37638,
    "c": 0.15916,
    "h": 276
  },
  "luminance": 0.04768
}

Semantic roles & 50–950 ramp

primary
#302F93
secondary
#B7B766
accent
#DB4DDA
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #302F93

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

Preview Lab → · Contrast checker → · Palette generator →

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