#302E93#302E93

#302E93 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.5% C 0.160 H 276.2°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#302E93
RGBrgb(48, 46, 147)
HSLhsl(241, 52%, 38%)
HSVhsv(241, 69%, 58%)
CMYKcmyk(67.3%, 68.7%, 0%, 42.4%)
CIE-LABlab(25.83, 33.79, -55.23)
CIE-LCHlch(25.83, 64.75, 301.46°)
OKLaboklab(37.47% 0.0174 -0.1594)
OKLCHoklch(37.47% 0.16 276.2)
XYZxyz(7.4607, 4.6883, 28.1099)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302E93 #91932E
analogous
#2E5E93 #302E93 #622E93
triadic
#302E93 #93302E #2E9330
tetradic
#302E93 #932E5E #91932E #2E9362
square
#302E93 #932E5E #91932E #2E9362
split-complementary
#302E93 #93622E #5E932E
monochromatic
#121136 #211F64 #302E93 #3F3DC2 #6D6BD1

Accessibility & contrast

On white

10.84
#302E93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #302E93
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302E93#FFFFFF#000000##FFFFFF
##302E931.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #302e93;
/* rgb */ color: rgb(48, 46, 147);
/* oklch */ color: oklch(37.5% 0.160 276.2);
Tailwind
colors: {
  custom: {
    50: '#7667b4',
    500: '#302e93',
    950: '#000000',
  },
}
SCSS
$custom: #302e93;
$custom-light: #7667b4;
$custom-dark: #000000;
JSON
{
  "hex": "#302e93",
  "rgb": {
    "r": 48,
    "g": 46,
    "b": 147
  },
  "hsl": {
    "h": 241.188,
    "s": 52.332,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37469,
    "c": 0.16036,
    "h": 276.2
  },
  "luminance": 0.04689
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #302E93

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

Preview Lab → · Contrast checker → · Palette generator →

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