#302B80#302B80

#302B80 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.2% C 0.138 H 279.2°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#302B80
RGBrgb(48, 43, 128)
HSLhsl(244, 50%, 34%)
HSVhsv(244, 66%, 50%)
CMYKcmyk(62.5%, 66.4%, 0%, 49.8%)
CIE-LABlab(23.39, 29.07, -47.39)
CIE-LCHlch(23.39, 55.59, 301.53°)
OKLaboklab(35.16% 0.0221 -0.1364)
OKLCHoklch(35.16% 0.138 279.2)
XYZxyz(5.9778, 3.9142, 20.8584)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302B80 #7B802B
analogous
#2B5080 #302B80 #5A2B80
triadic
#302B80 #80302B #2B8030
tetradic
#302B80 #802B50 #7B802B #2B805A
square
#302B80 #802B50 #7B802B #2B805A
split-complementary
#302B80 #805A2B #50802B
monochromatic
#0E0C24 #1F1C52 #302B80 #413AAE #635DC9

Accessibility & contrast

On white

11.78
#302B80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#302B80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##302B80#FFFFFF#000000##FFFFFF
##302B801.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)
#003B83
Deuteranopia (green-blind)
#00347E
Tritanopia (blue-blind)
#004051
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #302b80;
/* rgb */ color: rgb(48, 43, 128);
/* oklch */ color: oklch(35.2% 0.138 279.2);
Tailwind
colors: {
  custom: {
    50: '#7265a6',
    500: '#302b80',
    950: '#000000',
  },
}
SCSS
$custom: #302b80;
$custom-light: #7265a6;
$custom-dark: #000000;
JSON
{
  "hex": "#302b80",
  "rgb": {
    "r": 48,
    "g": 43,
    "b": 128
  },
  "hsl": {
    "h": 243.529,
    "s": 49.708,
    "l": 33.529
  },
  "oklch": {
    "l": 0.35164,
    "c": 0.13819,
    "h": 279.2
  },
  "luminance": 0.03915
}

Semantic roles & 50–950 ramp

primary
#302B80
secondary
#A9AE58
accent
#D94FD1
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#09050F
muted
#7B7A7F

Preview Lab

Preview with #302B80

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

Preview Lab → · Contrast checker → · Palette generator →

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