#30509F#30509F

#30509F is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.1% C 0.134 H 264.9°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#30509F
RGBrgb(48, 80, 159)
HSLhsl(223, 54%, 41%)
HSVhsv(223, 70%, 62%)
CMYKcmyk(69.8%, 49.7%, 0%, 37.6%)
CIE-LABlab(35.73, 15.75, -46.45)
CIE-LCHlch(35.73, 49.04, 288.73°)
OKLaboklab(45.15% -0.0118 -0.1332)
OKLCHoklch(45.15% 0.134 264.9)
XYZxyz(10.3434, 8.8679, 33.9607)
Luminance0.0887 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30509F #9F7F30
analogous
#30879F #30509F #48309F
triadic
#30509F #9F3050 #509F30
tetradic
#30509F #9F3087 #9F7F30 #309F48
square
#30509F #9F3087 #9F7F30 #309F48
split-complementary
#30509F #9F4830 #879F30
monochromatic
#142141 #223870 #30509F #456BC7 #7490D5

Accessibility & contrast

On white

7.57
#30509F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#30509F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30509F
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30509F#FFFFFF#000000##FFFFFF
##30509F1.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2459A2
Deuteranopia (green-blind)
#034F9D
Tritanopia (blue-blind)
#006370
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #30509f;
/* rgb */ color: rgb(48, 80, 159);
/* oklch */ color: oklch(45.1% 0.134 264.9);
Tailwind
colors: {
  custom: {
    50: '#7680bc',
    500: '#30509f',
    950: '#000000',
  },
}
SCSS
$custom: #30509f;
$custom-light: #7680bc;
$custom-dark: #000000;
JSON
{
  "hex": "#30509f",
  "rgb": {
    "r": 48,
    "g": 80,
    "b": 159
  },
  "hsl": {
    "h": 222.703,
    "s": 53.623,
    "l": 40.588
  },
  "oklch": {
    "l": 0.45145,
    "c": 0.13374,
    "h": 264.9
  },
  "luminance": 0.08869
}

Semantic roles & 50–950 ramp

primary
#30509F
secondary
#BDA66E
accent
#B34BDD
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #30509F

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

Preview Lab → · Contrast checker → · Palette generator →

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