#302BAA#302BAA

#302BAA is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.3% C 0.193 H 274.6°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#302BAA
RGBrgb(48, 43, 170)
HSLhsl(242, 60%, 42%)
HSVhsv(242, 75%, 67%)
CMYKcmyk(71.8%, 74.7%, 0%, 33.3%)
CIE-LABlab(27.46, 43.39, -66.56)
CIE-LCHlch(27.46, 79.45, 303.10°)
OKLaboklab(39.32% 0.0155 -0.1925)
OKLCHoklch(39.32% 0.193 274.6)
XYZxyz(9.3361, 5.2575, 38.5452)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302BAA #A5AA2B
analogous
#2B66AA #302BAA #702BAA
triadic
#302BAA #AA302B #2BAA30
tetradic
#302BAA #AA2B66 #A5AA2B #2BAA70
square
#302BAA #AA2B66 #A5AA2B #2BAA70
split-complementary
#302BAA #AA702B #66AA2B
monochromatic
#141248 #221F79 #302BAA #4843CF #7874DC

Accessibility & contrast

On white

10.24
#302BAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#302BAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302BAA
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302BAA#FFFFFF#000000##FFFFFF
##302BAA1.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AE
Deuteranopia (green-blind)
#003BA8
Tritanopia (blue-blind)
#005068
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #302baa;
/* rgb */ color: rgb(48, 43, 170);
/* oklch */ color: oklch(39.3% 0.193 274.6);
Tailwind
colors: {
  custom: {
    50: '#7b66c5',
    500: '#302baa',
    950: '#000000',
  },
}
SCSS
$custom: #302baa;
$custom-light: #7b66c5;
$custom-dark: #000000;
JSON
{
  "hex": "#302baa",
  "rgb": {
    "r": 48,
    "g": 43,
    "b": 170
  },
  "hsl": {
    "h": 242.362,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.39322,
    "c": 0.1931,
    "h": 274.6
  },
  "luminance": 0.05258
}

Semantic roles & 50–950 ramp

primary
#302BAA
secondary
#C0C36E
accent
#E345DD
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #302BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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