#30519F#30519F

#30519F is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.4% C 0.132 H 264.5°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#30519F
RGBrgb(48, 81, 159)
HSLhsl(222, 54%, 41%)
HSVhsv(222, 70%, 62%)
CMYKcmyk(69.8%, 49.1%, 0%, 37.6%)
CIE-LABlab(36.01, 15.08, -45.99)
CIE-LCHlch(36.01, 48.40, 288.16°)
OKLaboklab(45.36% -0.0128 -0.1318)
OKLCHoklch(45.36% 0.132 264.5)
XYZxyz(10.4172, 9.0154, 33.9853)
Luminance0.0902 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30519F #9F7E30
analogous
#30889F #30519F #46309F
triadic
#30519F #9F3051 #519F30
tetradic
#30519F #9F3088 #9F7E30 #309F46
square
#30519F #9F3088 #9F7E30 #309F46
split-complementary
#30519F #9F4630 #889F30
monochromatic
#142141 #223970 #30519F #456CC7 #7491D5

Accessibility & contrast

On white

7.49
#30519F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#30519F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30519F
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30519F#FFFFFF#000000##FFFFFF
##30519F1.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275AA2
Deuteranopia (green-blind)
#09509D
Tritanopia (blue-blind)
#006370
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #30519f;
/* rgb */ color: rgb(48, 81, 159);
/* oklch */ color: oklch(45.4% 0.132 264.5);
Tailwind
colors: {
  custom: {
    50: '#7681bc',
    500: '#30519f',
    950: '#000000',
  },
}
SCSS
$custom: #30519f;
$custom-light: #7681bc;
$custom-dark: #000000;
JSON
{
  "hex": "#30519f",
  "rgb": {
    "r": 48,
    "g": 81,
    "b": 159
  },
  "hsl": {
    "h": 222.162,
    "s": 53.623,
    "l": 40.588
  },
  "oklch": {
    "l": 0.45363,
    "c": 0.13247,
    "h": 264.5
  },
  "luminance": 0.09016
}

Semantic roles & 50–950 ramp

primary
#30519F
secondary
#BDA56E
accent
#B24BDD
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #30519F

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

Preview Lab → · Contrast checker → · Palette generator →

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