#302294#302294

#302294 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.7% C 0.175 H 278.3°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#302294
RGBrgb(48, 34, 148)
HSLhsl(247, 63%, 36%)
HSVhsv(247, 77%, 58%)
CMYKcmyk(67.6%, 77%, 0%, 42%)
CIE-LABlab(23.37, 41.21, -59.89)
CIE-LCHlch(23.37, 72.70, 304.53°)
OKLaboklab(35.75% 0.0254 -0.173)
OKLCHoklch(35.75% 0.175 278.3)
XYZxyz(7.1345, 3.9100, 28.3899)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302294 #869422
analogous
#224D94 #302294 #692294
triadic
#302294 #943022 #229430
tetradic
#302294 #94224D #869422 #229469
square
#302294 #94224D #869422 #229469
split-complementary
#302294 #946922 #4D9422
monochromatic
#100B30 #201762 #302294 #402DC6 #6858D9

Accessibility & contrast

On white

11.78
#302294 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#302294 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302294
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302294#FFFFFF#000000##FFFFFF
##3022941.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C97
Deuteranopia (green-blind)
#003392
Tritanopia (blue-blind)
#00435A
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #302294;
/* rgb */ color: rgb(48, 34, 148);
/* oklch */ color: oklch(35.7% 0.175 278.3);
Tailwind
colors: {
  custom: {
    50: '#7760b5',
    500: '#302294',
    950: '#000000',
  },
}
SCSS
$custom: #302294;
$custom-light: #7760b5;
$custom-dark: #000000;
JSON
{
  "hex": "#302294",
  "rgb": {
    "r": 48,
    "g": 34,
    "b": 148
  },
  "hsl": {
    "h": 247.368,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.35746,
    "c": 0.17482,
    "h": 278.3
  },
  "luminance": 0.03911
}

Semantic roles & 50–950 ramp

primary
#302294
secondary
#B0BD55
accent
#E642D2
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #302294

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

Preview Lab → · Contrast checker → · Palette generator →

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