#302EB0#302EB0

#302EB0 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.4% C 0.198 H 273.7°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#302EB0
RGBrgb(48, 46, 176)
HSLhsl(241, 59%, 44%)
HSVhsv(241, 74%, 69%)
CMYKcmyk(72.7%, 73.9%, 0%, 31%)
CIE-LABlab(28.68, 43.67, -68.13)
CIE-LCHlch(28.68, 80.93, 302.66°)
OKLaboklab(40.38% 0.0128 -0.1971)
OKLCHoklch(40.38% 0.198 273.7)
XYZxyz(10.0298, 5.7160, 41.6406)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302EB0 #AEB02E
analogous
#2E6DB0 #302EB0 #712EB0
triadic
#302EB0 #B0302E #2EB030
tetradic
#302EB0 #B02E6D #AEB02E #2EB071
square
#302EB0 #B02E6D #AEB02E #2EB071
split-complementary
#302EB0 #B0712E #6DB02E
monochromatic
#16154F #23217F #302EB0 #4D4BD0 #7D7CDD

Accessibility & contrast

On white

9.80
#302EB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#302EB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302EB0
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302EB0#FFFFFF#000000##FFFFFF
##302EB01.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB4
Deuteranopia (green-blind)
#003DAE
Tritanopia (blue-blind)
#00536C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #302eb0;
/* rgb */ color: rgb(48, 46, 176);
/* oklch */ color: oklch(40.4% 0.198 273.7);
Tailwind
colors: {
  custom: {
    50: '#7c68c9',
    500: '#302eb0',
    950: '#000000',
  },
}
SCSS
$custom: #302eb0;
$custom-light: #7c68c9;
$custom-dark: #000000;
JSON
{
  "hex": "#302eb0",
  "rgb": {
    "r": 48,
    "g": 46,
    "b": 176
  },
  "hsl": {
    "h": 240.923,
    "s": 58.559,
    "l": 43.529
  },
  "oklch": {
    "l": 0.4038,
    "c": 0.1975,
    "h": 273.7
  },
  "luminance": 0.05717
}

Semantic roles & 50–950 ramp

primary
#302EB0
secondary
#C4C575
accent
#E246DF
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #302EB0

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

Preview Lab → · Contrast checker → · Palette generator →

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