#30509D#30509D

#30509D is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.0% C 0.131 H 264.7°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#30509D
RGBrgb(48, 80, 157)
HSLhsl(222, 53%, 40%)
HSVhsv(222, 69%, 62%)
CMYKcmyk(69.4%, 49%, 0%, 38.4%)
CIE-LABlab(35.59, 14.99, -45.46)
CIE-LCHlch(35.59, 47.87, 288.25°)
OKLaboklab(45% -0.0121 -0.1303)
OKLCHoklch(45% 0.131 264.7)
XYZxyz(10.1713, 8.7990, 33.0541)
Luminance0.0880 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30509D #9D7D30
analogous
#30879D #30509D #46309D
triadic
#30509D #9D3050 #509D30
tetradic
#30509D #9D3087 #9D7D30 #309D46
square
#30509D #9D3087 #9D7D30 #309D46
split-complementary
#30509D #9D4630 #879D30
monochromatic
#13203F #22386E #30509D #446AC6 #7390D4

Accessibility & contrast

On white

7.61
#30509D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#30509D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30509D
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30509D#FFFFFF#000000##FFFFFF
##30509D1.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2759A0
Deuteranopia (green-blind)
#0A4F9B
Tritanopia (blue-blind)
#00626F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #30509d;
/* rgb */ color: rgb(48, 80, 157);
/* oklch */ color: oklch(45.0% 0.131 264.7);
Tailwind
colors: {
  custom: {
    50: '#7580ba',
    500: '#30509d',
    950: '#000000',
  },
}
SCSS
$custom: #30509d;
$custom-light: #7580ba;
$custom-dark: #000000;
JSON
{
  "hex": "#30509d",
  "rgb": {
    "r": 48,
    "g": 80,
    "b": 157
  },
  "hsl": {
    "h": 222.385,
    "s": 53.171,
    "l": 40.196
  },
  "oklch": {
    "l": 0.45,
    "c": 0.13088,
    "h": 264.7
  },
  "luminance": 0.088
}

Semantic roles & 50–950 ramp

primary
#30509D
secondary
#BCA56D
accent
#B24BDD
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #30509D

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

Preview Lab → · Contrast checker → · Palette generator →

#30509D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva