#30509A#30509A

#30509A is a dark, vivid blue. Relative luminance 0.087; OKLCH L 44.8% C 0.127 H 264.3°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#30509A
RGBrgb(48, 80, 154)
HSLhsl(222, 52%, 40%)
HSVhsv(222, 69%, 60%)
CMYKcmyk(68.8%, 48.1%, 0%, 39.6%)
CIE-LABlab(35.40, 13.86, -43.97)
CIE-LCHlch(35.40, 46.11, 287.50°)
OKLaboklab(44.78% -0.0125 -0.1259)
OKLCHoklch(44.78% 0.127 264.3)
XYZxyz(9.9183, 8.6978, 31.7217)
Luminance0.0870 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30509A #9A7A30
analogous
#30859A #30509A #45309A
triadic
#30509A #9A3050 #509A30
tetradic
#30509A #9A3085 #9A7A30 #309A45
square
#30509A #9A3085 #9A7A30 #309A45
split-complementary
#30509A #9A4530 #859A30
monochromatic
#13203D #21386B #30509A #436AC4 #728FD3

Accessibility & contrast

On white

7.66
#30509A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#30509A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30509A
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30509A#FFFFFF#000000##FFFFFF
##30509A1.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A589D
Deuteranopia (green-blind)
#124F98
Tritanopia (blue-blind)
#00616D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #30509a;
/* rgb */ color: rgb(48, 80, 154);
/* oklch */ color: oklch(44.8% 0.127 264.3);
Tailwind
colors: {
  custom: {
    50: '#7580b8',
    500: '#30509a',
    950: '#000000',
  },
}
SCSS
$custom: #30509a;
$custom-light: #7580b8;
$custom-dark: #000000;
JSON
{
  "hex": "#30509a",
  "rgb": {
    "r": 48,
    "g": 80,
    "b": 154
  },
  "hsl": {
    "h": 221.887,
    "s": 52.475,
    "l": 39.608
  },
  "oklch": {
    "l": 0.44784,
    "c": 0.12656,
    "h": 264.3
  },
  "luminance": 0.08699
}

Semantic roles & 50–950 ramp

primary
#30509A
secondary
#BBA36B
accent
#B04CDC
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #30509A

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

Preview Lab → · Contrast checker → · Palette generator →

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