#302575#302575

#302575 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.1% C 0.131 H 282.8°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#302575
RGBrgb(48, 37, 117)
HSLhsl(248, 52%, 30%)
HSVhsv(248, 68%, 46%)
CMYKcmyk(59%, 68.4%, 0%, 54.1%)
CIE-LABlab(20.96, 29.14, -44.35)
CIE-LCHlch(20.96, 53.07, 303.31°)
OKLaboklab(33.1% 0.0291 -0.1275)
OKLCHoklch(33.1% 0.131 282.8)
XYZxyz(5.0904, 3.2356, 17.1825)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302575 #6A7525
analogous
#254275 #302575 #582575
triadic
#302575 #753025 #257530
tetradic
#302575 #752542 #6A7525 #257558
square
#302575 #752542 #6A7525 #257558
split-complementary
#302575 #755825 #427525
monochromatic
#0A0818 #1D1647 #302575 #4334A3 #5E4EC7

Accessibility & contrast

On white

12.75
#302575 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#302575 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302575
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302575#FFFFFF#000000##FFFFFF
##3025751.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003577
Deuteranopia (green-blind)
#003073
Tritanopia (blue-blind)
#0D3949
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #302575;
/* rgb */ color: rgb(48, 37, 117);
/* oklch */ color: oklch(33.1% 0.131 282.8);
Tailwind
colors: {
  custom: {
    50: '#70609d',
    500: '#302575',
    950: '#000000',
  },
}
SCSS
$custom: #302575;
$custom-light: #70609d;
$custom-dark: #000000;
JSON
{
  "hex": "#302575",
  "rgb": {
    "r": 48,
    "g": 37,
    "b": 117
  },
  "hsl": {
    "h": 248.25,
    "s": 51.948,
    "l": 30.196
  },
  "oklch": {
    "l": 0.33101,
    "c": 0.13078,
    "h": 282.8
  },
  "luminance": 0.03236
}

Semantic roles & 50–950 ramp

primary
#302575
secondary
#9BA84E
accent
#DB4CC8
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08050E
muted
#7B797E

Preview Lab

Preview with #302575

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

Preview Lab → · Contrast checker → · Palette generator →

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