#30589F#30589F

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

Color values

HEX#30589F
RGBrgb(48, 88, 159)
HSLhsl(218, 54%, 41%)
HSVhsv(218, 70%, 62%)
CMYKcmyk(69.8%, 44.7%, 0%, 37.6%)
CIE-LABlab(38.04, 10.47, -42.74)
CIE-LCHlch(38.04, 44.00, 283.77°)
OKLaboklab(46.92% -0.0195 -0.1222)
OKLCHoklch(46.92% 0.124 260.9)
XYZxyz(10.9644, 10.1099, 34.1677)
Luminance0.1011 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30589F #9F7730
analogous
#308F9F #30589F #3F309F
triadic
#30589F #9F3058 #589F30
tetradic
#30589F #9F308F #9F7730 #309F3F
square
#30589F #9F308F #9F7730 #309F3F
split-complementary
#30589F #9F3F30 #8F9F30
monochromatic
#142441 #223E70 #30589F #4574C7 #7497D5

Accessibility & contrast

On white

6.95
#30589F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #30589F
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30589F#FFFFFF#000000##FFFFFF
##30589F1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355FA2
Deuteranopia (green-blind)
#22559E
Tritanopia (blue-blind)
#006873
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #30589f;
/* rgb */ color: rgb(48, 88, 159);
/* oklch */ color: oklch(46.9% 0.124 260.9);
Tailwind
colors: {
  custom: {
    50: '#7686bc',
    500: '#30589f',
    950: '#000000',
  },
}
SCSS
$custom: #30589f;
$custom-light: #7686bc;
$custom-dark: #000000;
JSON
{
  "hex": "#30589f",
  "rgb": {
    "r": 48,
    "g": 88,
    "b": 159
  },
  "hsl": {
    "h": 218.378,
    "s": 53.623,
    "l": 40.588
  },
  "oklch": {
    "l": 0.46917,
    "c": 0.12372,
    "h": 260.9
  },
  "luminance": 0.10111
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #30589F

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

Preview Lab → · Contrast checker → · Palette generator →

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