#302E94#302E94

#302E94 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.6% C 0.162 H 276.1°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#302E94
RGBrgb(48, 46, 148)
HSLhsl(241, 53%, 38%)
HSVhsv(241, 69%, 58%)
CMYKcmyk(67.6%, 68.9%, 0%, 42%)
CIE-LABlab(25.92, 34.14, -55.70)
CIE-LCHlch(25.92, 65.33, 301.51°)
OKLaboklab(37.57% 0.0173 -0.1608)
OKLCHoklch(37.57% 0.162 276.1)
XYZxyz(7.5395, 4.7198, 28.5249)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302E94 #92942E
analogous
#2E5F94 #302E94 #632E94
triadic
#302E94 #94302E #2E9430
tetradic
#302E94 #942E5F #92942E #2E9463
square
#302E94 #942E5F #92942E #2E9463
split-complementary
#302E94 #94632E #5F942E
monochromatic
#121137 #211F65 #302E94 #3F3DC3 #6D6BD1

Accessibility & contrast

On white

10.80
#302E94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#302E94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302E94
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302E94#FFFFFF#000000##FFFFFF
##302E941.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004297
Deuteranopia (green-blind)
#003992
Tritanopia (blue-blind)
#00495D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #302e94;
/* rgb */ color: rgb(48, 46, 148);
/* oklch */ color: oklch(37.6% 0.162 276.1);
Tailwind
colors: {
  custom: {
    50: '#7667b4',
    500: '#302e94',
    950: '#000000',
  },
}
SCSS
$custom: #302e94;
$custom-light: #7667b4;
$custom-dark: #000000;
JSON
{
  "hex": "#302e94",
  "rgb": {
    "r": 48,
    "g": 46,
    "b": 148
  },
  "hsl": {
    "h": 241.176,
    "s": 52.577,
    "l": 38.039
  },
  "oklch": {
    "l": 0.37565,
    "c": 0.16169,
    "h": 276.1
  },
  "luminance": 0.0472
}

Semantic roles & 50–950 ramp

primary
#302E94
secondary
#B7B866
accent
#DC4CD9
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #302E94

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

Preview Lab → · Contrast checker → · Palette generator →

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