#30539E#30539E

#30539E is a mid, vivid blue. Relative luminance 0.093; OKLCH L 45.7% C 0.129 H 263.4°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#30539E
RGBrgb(48, 83, 158)
HSLhsl(221, 53%, 40%)
HSVhsv(221, 70%, 62%)
CMYKcmyk(69.6%, 47.5%, 0%, 38%)
CIE-LABlab(36.52, 13.38, -44.57)
CIE-LCHlch(36.52, 46.54, 286.71°)
OKLaboklab(45.73% -0.0148 -0.1277)
OKLCHoklch(45.73% 0.129 263.4)
XYZxyz(10.4816, 9.2825, 33.5804)
Luminance0.0928 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30539E #9E7B30
analogous
#308A9E #30539E #44309E
triadic
#30539E #9E3053 #539E30
tetradic
#30539E #9E308A #9E7B30 #309E44
square
#30539E #9E308A #9E7B30 #309E44
split-complementary
#30539E #9E4430 #8A9E30
monochromatic
#132240 #223A6F #30539E #456EC6 #7493D5

Accessibility & contrast

On white

7.35
#30539E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#30539E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30539E
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30539E#FFFFFF#000000##FFFFFF
##30539E1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5BA1
Deuteranopia (green-blind)
#15519C
Tritanopia (blue-blind)
#006471
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #30539e;
/* rgb */ color: rgb(48, 83, 158);
/* oklch */ color: oklch(45.7% 0.129 263.4);
Tailwind
colors: {
  custom: {
    50: '#7682bb',
    500: '#30539e',
    950: '#000000',
  },
}
SCSS
$custom: #30539e;
$custom-light: #7682bb;
$custom-dark: #000000;
JSON
{
  "hex": "#30539e",
  "rgb": {
    "r": 48,
    "g": 83,
    "b": 158
  },
  "hsl": {
    "h": 220.909,
    "s": 53.398,
    "l": 40.392
  },
  "oklch": {
    "l": 0.45731,
    "c": 0.12851,
    "h": 263.4
  },
  "luminance": 0.09284
}

Semantic roles & 50–950 ramp

primary
#30539E
secondary
#BDA36D
accent
#AE4BDD
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #30539E

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

Preview Lab → · Contrast checker → · Palette generator →

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