#302F94#302F94

#302F94 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.7% C 0.161 H 275.9°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#302F94
RGBrgb(48, 47, 148)
HSLhsl(241, 52%, 38%)
HSVhsv(241, 68%, 58%)
CMYKcmyk(67.6%, 68.2%, 0%, 42%)
CIE-LABlab(26.15, 33.51, -55.31)
CIE-LCHlch(26.15, 64.67, 301.21°)
OKLaboklab(37.73% 0.0165 -0.1596)
OKLCHoklch(37.73% 0.161 275.9)
XYZxyz(7.5790, 4.7989, 28.5381)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302F94 #93942F
analogous
#2F6094 #302F94 #622F94
triadic
#302F94 #94302F #2F9430
tetradic
#302F94 #942F60 #93942F #2F9462
square
#302F94 #942F60 #93942F #2F9462
split-complementary
#302F94 #94622F #60942F
monochromatic
#121137 #212066 #302F94 #403EC2 #6E6DD1

Accessibility & contrast

On white

10.71
#302F94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#302F94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302F94
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302F94#FFFFFF#000000##FFFFFF
##302F941.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004297
Deuteranopia (green-blind)
#003992
Tritanopia (blue-blind)
#004A5D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #302f94;
/* rgb */ color: rgb(48, 47, 148);
/* oklch */ color: oklch(37.7% 0.161 275.9);
Tailwind
colors: {
  custom: {
    50: '#7668b4',
    500: '#302f94',
    950: '#000000',
  },
}
SCSS
$custom: #302f94;
$custom-light: #7668b4;
$custom-dark: #000000;
JSON
{
  "hex": "#302f94",
  "rgb": {
    "r": 48,
    "g": 47,
    "b": 148
  },
  "hsl": {
    "h": 240.594,
    "s": 51.795,
    "l": 38.235
  },
  "oklch": {
    "l": 0.37734,
    "c": 0.1605,
    "h": 275.9
  },
  "luminance": 0.048
}

Semantic roles & 50–950 ramp

primary
#302F94
secondary
#B7B867
accent
#DB4DDA
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #302F94

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

Preview Lab → · Contrast checker → · Palette generator →

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