#302F90#302F90

#302F90 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.4% C 0.155 H 276.3°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#302F90
RGBrgb(48, 47, 144)
HSLhsl(241, 51%, 37%)
HSVhsv(241, 67%, 56%)
CMYKcmyk(66.7%, 67.4%, 0%, 43.5%)
CIE-LABlab(25.79, 32.11, -53.45)
CIE-LCHlch(25.79, 62.35, 301.00°)
OKLaboklab(37.35% 0.017 -0.1542)
OKLCHoklch(37.35% 0.155 276.3)
XYZxyz(7.2678, 4.6744, 26.8994)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302F90 #8F902F
analogous
#2F5E90 #302F90 #612F90
triadic
#302F90 #90302F #2F9030
tetradic
#302F90 #902F5E #8F902F #2F9061
square
#302F90 #902F5E #8F902F #2F9061
split-complementary
#302F90 #90612F #5E902F
monochromatic
#111134 #212062 #302F90 #3F3EBE #6C6BCF

Accessibility & contrast

On white

10.85
#302F90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#302F90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302F90
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302F90#FFFFFF#000000##FFFFFF
##302F901.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004193
Deuteranopia (green-blind)
#00398E
Tritanopia (blue-blind)
#00485B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #302f90;
/* rgb */ color: rgb(48, 47, 144);
/* oklch */ color: oklch(37.4% 0.155 276.3);
Tailwind
colors: {
  custom: {
    50: '#7568b1',
    500: '#302f90',
    950: '#000000',
  },
}
SCSS
$custom: #302f90;
$custom-light: #7568b1;
$custom-dark: #000000;
JSON
{
  "hex": "#302f90",
  "rgb": {
    "r": 48,
    "g": 47,
    "b": 144
  },
  "hsl": {
    "h": 240.619,
    "s": 50.785,
    "l": 37.451
  },
  "oklch": {
    "l": 0.37354,
    "c": 0.15512,
    "h": 276.3
  },
  "luminance": 0.04675
}

Semantic roles & 50–950 ramp

primary
#302F90
secondary
#B5B665
accent
#DA4ED9
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #302F90

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

Preview Lab → · Contrast checker → · Palette generator →

#302F90 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva