#302AA0#302AA0

#302AA0 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.1% C 0.182 H 275.7°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#302AA0
RGBrgb(48, 42, 160)
HSLhsl(243, 58%, 40%)
HSVhsv(243, 74%, 63%)
CMYKcmyk(70%, 73.8%, 0%, 37.3%)
CIE-LABlab(26.22, 40.64, -62.55)
CIE-LCHlch(26.22, 74.59, 303.02°)
OKLaboklab(38.14% 0.018 -0.1808)
OKLCHoklch(38.14% 0.182 275.7)
XYZxyz(8.3900, 4.8216, 33.7394)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302AA0 #9AA02A
analogous
#2A5FA0 #302AA0 #6B2AA0
triadic
#302AA0 #A0302A #2AA030
tetradic
#302AA0 #A02A5F #9AA02A #2AA06B
square
#302AA0 #A02A5F #9AA02A #2AA06B
split-complementary
#302AA0 #A06B2A #5FA02A
monochromatic
#13113F #211D70 #302AA0 #433CCC #726CD8

Accessibility & contrast

On white

10.69
#302AA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#302AA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302AA0
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302AA0#FFFFFF#000000##FFFFFF
##302AA01.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A3
Deuteranopia (green-blind)
#00399E
Tritanopia (blue-blind)
#004B62
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #302aa0;
/* rgb */ color: rgb(48, 42, 160);
/* oklch */ color: oklch(38.1% 0.182 275.7);
Tailwind
colors: {
  custom: {
    50: '#7965bd',
    500: '#302aa0',
    950: '#000000',
  },
}
SCSS
$custom: #302aa0;
$custom-light: #7965bd;
$custom-dark: #000000;
JSON
{
  "hex": "#302aa0",
  "rgb": {
    "r": 48,
    "g": 42,
    "b": 160
  },
  "hsl": {
    "h": 243.051,
    "s": 58.416,
    "l": 39.608
  },
  "oklch": {
    "l": 0.38136,
    "c": 0.18167,
    "h": 275.7
  },
  "luminance": 0.04822
}

Semantic roles & 50–950 ramp

primary
#302AA0
secondary
#BBBF67
accent
#E246DA
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #302AA0

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

Preview Lab → · Contrast checker → · Palette generator →

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