#302E92#302E92

#302E92 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.4% C 0.159 H 276.3°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#302E92
RGBrgb(48, 46, 146)
HSLhsl(241, 52%, 38%)
HSVhsv(241, 68%, 57%)
CMYKcmyk(67.1%, 68.5%, 0%, 42.7%)
CIE-LABlab(25.73, 33.44, -54.77)
CIE-LCHlch(25.73, 64.17, 301.41°)
OKLaboklab(37.37% 0.0175 -0.158)
OKLCHoklch(37.37% 0.159 276.3)
XYZxyz(7.3825, 4.6571, 27.6984)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302E92 #90922E
analogous
#2E5E92 #302E92 #622E92
triadic
#302E92 #92302E #2E9230
tetradic
#302E92 #922E5E #90922E #2E9262
square
#302E92 #922E5E #90922E #2E9262
split-complementary
#302E92 #92622E #5E922E
monochromatic
#111135 #211F63 #302E92 #3F3DC1 #6C6AD0

Accessibility & contrast

On white

10.87
#302E92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#302E92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302E92
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302E92#FFFFFF#000000##FFFFFF
##302E921.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004195
Deuteranopia (green-blind)
#003990
Tritanopia (blue-blind)
#00485C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #302e92;
/* rgb */ color: rgb(48, 46, 146);
/* oklch */ color: oklch(37.4% 0.159 276.3);
Tailwind
colors: {
  custom: {
    50: '#7567b3',
    500: '#302e92',
    950: '#000000',
  },
}
SCSS
$custom: #302e92;
$custom-light: #7567b3;
$custom-dark: #000000;
JSON
{
  "hex": "#302e92",
  "rgb": {
    "r": 48,
    "g": 46,
    "b": 146
  },
  "hsl": {
    "h": 241.2,
    "s": 52.083,
    "l": 37.647
  },
  "oklch": {
    "l": 0.37373,
    "c": 0.15902,
    "h": 276.3
  },
  "luminance": 0.04658
}

Semantic roles & 50–950 ramp

primary
#302E92
secondary
#B5B765
accent
#DC4CD9
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #302E92

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

Preview Lab → · Contrast checker → · Palette generator →

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