#302691#302691

#302691 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.0% C 0.167 H 278.1°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#302691
RGBrgb(48, 38, 145)
HSLhsl(246, 58%, 36%)
HSVhsv(246, 74%, 57%)
CMYKcmyk(66.9%, 73.8%, 0%, 43.1%)
CIE-LABlab(23.86, 37.97, -57.22)
CIE-LCHlch(23.86, 68.67, 303.56°)
OKLaboklab(36% 0.0235 -0.1652)
OKLCHoklch(36% 0.167 278.1)
XYZxyz(7.0212, 4.0584, 27.1959)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302691 #879126
analogous
#265291 #302691 #652691
triadic
#302691 #913026 #269130
tetradic
#302691 #912652 #879126 #269165
square
#302691 #912652 #879126 #269165
split-complementary
#302691 #916526 #529126
monochromatic
#100D30 #201961 #302691 #4033C1 #685DD5

Accessibility & contrast

On white

11.59
#302691 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#302691 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302691
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302691#FFFFFF#000000##FFFFFF
##3026911.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D94
Deuteranopia (green-blind)
#00348F
Tritanopia (blue-blind)
#004459
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #302691;
/* rgb */ color: rgb(48, 38, 145);
/* oklch */ color: oklch(36.0% 0.167 278.1);
Tailwind
colors: {
  custom: {
    50: '#7662b2',
    500: '#302691',
    950: '#000000',
  },
}
SCSS
$custom: #302691;
$custom-light: #7662b2;
$custom-dark: #000000;
JSON
{
  "hex": "#302691",
  "rgb": {
    "r": 48,
    "g": 38,
    "b": 145
  },
  "hsl": {
    "h": 245.607,
    "s": 58.47,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36,
    "c": 0.16688,
    "h": 278.1
  },
  "luminance": 0.04059
}

Semantic roles & 50–950 ramp

primary
#302691
secondary
#B1BA59
accent
#E246D3
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #302691

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

Preview Lab → · Contrast checker → · Palette generator →

#302691 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva