#30589E#30589E

#30589E is a mid, vivid blue. Relative luminance 0.101; OKLCH L 46.9% C 0.122 H 260.7°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#30589E
RGBrgb(48, 88, 158)
HSLhsl(218, 53%, 40%)
HSVhsv(218, 70%, 62%)
CMYKcmyk(69.6%, 44.3%, 0%, 38%)
CIE-LABlab(37.98, 10.10, -42.24)
CIE-LCHlch(37.98, 43.43, 283.44°)
OKLaboklab(46.85% -0.0197 -0.1207)
OKLCHoklch(46.85% 0.122 260.7)
XYZxyz(10.8780, 10.0753, 33.7126)
Luminance0.1008 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30589E #9E7630
analogous
#308F9E #30589E #3F309E
triadic
#30589E #9E3058 #589E30
tetradic
#30589E #9E308F #9E7630 #309E3F
square
#30589E #9E308F #9E7630 #309E3F
split-complementary
#30589E #9E3F30 #8F9E30
monochromatic
#132440 #223E6F #30589E #4574C6 #7497D5

Accessibility & contrast

On white

6.96
#30589E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#30589E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #30589E
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30589E#FFFFFF#000000##FFFFFF
##30589E1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365FA1
Deuteranopia (green-blind)
#23559D
Tritanopia (blue-blind)
#006873
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #30589e;
/* rgb */ color: rgb(48, 88, 158);
/* oklch */ color: oklch(46.9% 0.122 260.7);
Tailwind
colors: {
  custom: {
    50: '#7586bb',
    500: '#30589e',
    950: '#000000',
  },
}
SCSS
$custom: #30589e;
$custom-light: #7586bb;
$custom-dark: #000000;
JSON
{
  "hex": "#30589e",
  "rgb": {
    "r": 48,
    "g": 88,
    "b": 158
  },
  "hsl": {
    "h": 218.182,
    "s": 53.398,
    "l": 40.392
  },
  "oklch": {
    "l": 0.4685,
    "c": 0.1223,
    "h": 260.7
  },
  "luminance": 0.10076
}

Semantic roles & 50–950 ramp

primary
#30589E
secondary
#BDA06D
accent
#A84BDD
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #30589E

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

Preview Lab → · Contrast checker → · Palette generator →

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