#302390#302390

#302390 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.5% C 0.169 H 278.8°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#302390
RGBrgb(48, 35, 144)
HSLhsl(247, 61%, 35%)
HSVhsv(247, 76%, 56%)
CMYKcmyk(66.7%, 75.7%, 0%, 43.5%)
CIE-LABlab(23.15, 39.36, -57.78)
CIE-LCHlch(23.15, 69.92, 304.26°)
OKLaboklab(35.46% 0.0257 -0.1668)
OKLCHoklch(35.46% 0.169 278.8)
XYZxyz(6.8524, 3.8435, 26.7609)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302390 #839023
analogous
#234C90 #302390 #662390
triadic
#302390 #903023 #239030
tetradic
#302390 #90234C #839023 #239066
square
#302390 #90234C #839023 #239066
split-complementary
#302390 #906623 #4C9023
monochromatic
#0F0B2E #20175F #302390 #402FC1 #6657D6

Accessibility & contrast

On white

11.87
#302390 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#302390 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302390
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302390#FFFFFF#000000##FFFFFF
##3023901.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #302390;
/* rgb */ color: rgb(48, 35, 144);
/* oklch */ color: oklch(35.5% 0.169 278.8);
Tailwind
colors: {
  custom: {
    50: '#7660b2',
    500: '#302390',
    950: '#000000',
  },
}
SCSS
$custom: #302390;
$custom-light: #7660b2;
$custom-dark: #000000;
JSON
{
  "hex": "#302390",
  "rgb": {
    "r": 48,
    "g": 35,
    "b": 144
  },
  "hsl": {
    "h": 247.156,
    "s": 60.894,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35462,
    "c": 0.16881,
    "h": 278.8
  },
  "luminance": 0.03844
}

Semantic roles & 50–950 ramp

primary
#302390
secondary
#AEBA54
accent
#E444D1
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #302390

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

Preview Lab → · Contrast checker → · Palette generator →

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