#302290#302290

#302290 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.3% C 0.170 H 278.9°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#302290
RGBrgb(48, 34, 144)
HSLhsl(248, 62%, 35%)
HSVhsv(248, 76%, 56%)
CMYKcmyk(66.7%, 76.4%, 0%, 43.5%)
CIE-LABlab(22.95, 39.92, -58.11)
CIE-LCHlch(22.95, 70.50, 304.49°)
OKLaboklab(35.32% 0.0264 -0.1678)
OKLCHoklch(35.32% 0.17 278.9)
XYZxyz(6.8234, 3.7855, 26.7512)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302290 #829022
analogous
#224B90 #302290 #672290
triadic
#302290 #903022 #229030
tetradic
#302290 #90224B #829022 #229067
square
#302290 #90224B #829022 #229067
split-complementary
#302290 #906722 #4B9022
monochromatic
#0F0B2D #1F165E #302290 #412EC2 #6655D7

Accessibility & contrast

On white

11.95
#302290 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#302290 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302290
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302290#FFFFFF#000000##FFFFFF
##3022901.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B93
Deuteranopia (green-blind)
#00328E
Tritanopia (blue-blind)
#004257
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #302290;
/* rgb */ color: rgb(48, 34, 144);
/* oklch */ color: oklch(35.3% 0.170 278.9);
Tailwind
colors: {
  custom: {
    50: '#765fb2',
    500: '#302290',
    950: '#000000',
  },
}
SCSS
$custom: #302290;
$custom-light: #765fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#302290",
  "rgb": {
    "r": 48,
    "g": 34,
    "b": 144
  },
  "hsl": {
    "h": 247.636,
    "s": 61.798,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35322,
    "c": 0.16984,
    "h": 278.9
  },
  "luminance": 0.03786
}

Semantic roles & 50–950 ramp

primary
#302290
secondary
#AEBB53
accent
#E543D0
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #302290

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

Preview Lab → · Contrast checker → · Palette generator →

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