#30509E#30509E

#30509E is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.1% C 0.132 H 264.8°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#30509E
RGBrgb(48, 80, 158)
HSLhsl(223, 53%, 40%)
HSVhsv(223, 70%, 62%)
CMYKcmyk(69.6%, 49.4%, 0%, 38%)
CIE-LABlab(35.66, 15.37, -45.95)
CIE-LCHlch(35.66, 48.46, 288.49°)
OKLaboklab(45.07% -0.0119 -0.1318)
OKLCHoklch(45.07% 0.132 264.8)
XYZxyz(10.2570, 8.8333, 33.5056)
Luminance0.0883 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30509E #9E7E30
analogous
#30879E #30509E #47309E
triadic
#30509E #9E3050 #509E30
tetradic
#30509E #9E3087 #9E7E30 #309E47
square
#30509E #9E3087 #9E7E30 #309E47
split-complementary
#30509E #9E4730 #879E30
monochromatic
#132040 #22386F #30509E #456AC6 #7490D5

Accessibility & contrast

On white

7.59
#30509E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30509E
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30509E#FFFFFF#000000##FFFFFF
##30509E1.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2559A1
Deuteranopia (green-blind)
#064F9C
Tritanopia (blue-blind)
#00626F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #30509e;
/* rgb */ color: rgb(48, 80, 158);
/* oklch */ color: oklch(45.1% 0.132 264.8);
Tailwind
colors: {
  custom: {
    50: '#7680bb',
    500: '#30509e',
    950: '#000000',
  },
}
SCSS
$custom: #30509e;
$custom-light: #7680bb;
$custom-dark: #000000;
JSON
{
  "hex": "#30509e",
  "rgb": {
    "r": 48,
    "g": 80,
    "b": 158
  },
  "hsl": {
    "h": 222.545,
    "s": 53.398,
    "l": 40.392
  },
  "oklch": {
    "l": 0.45072,
    "c": 0.13231,
    "h": 264.8
  },
  "luminance": 0.08834
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #30509E

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

Preview Lab → · Contrast checker → · Palette generator →

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