#30589D#30589D

#30589D is a mid, vivid blue. Relative luminance 0.100; OKLCH L 46.8% C 0.121 H 260.5°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#30589D
RGBrgb(48, 88, 157)
HSLhsl(218, 53%, 40%)
HSVhsv(218, 69%, 62%)
CMYKcmyk(69.4%, 43.9%, 0%, 38.4%)
CIE-LABlab(37.92, 9.72, -41.74)
CIE-LCHlch(37.92, 42.85, 283.11°)
OKLaboklab(46.78% -0.0199 -0.1192)
OKLCHoklch(46.78% 0.121 260.5)
XYZxyz(10.7923, 10.0411, 33.2611)
Luminance0.1004 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30589D #9D7530
analogous
#308E9D #30589D #3F309D
triadic
#30589D #9D3058 #589D30
tetradic
#30589D #9D308E #9D7530 #309D3F
square
#30589D #9D308E #9D7530 #309D3F
split-complementary
#30589D #9D3F30 #8E9D30
monochromatic
#13233F #223E6E #30589D #4474C6 #7397D4

Accessibility & contrast

On white

6.98
#30589D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#30589D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #30589D
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30589D#FFFFFF#000000##FFFFFF
##30589D1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375FA0
Deuteranopia (green-blind)
#24559C
Tritanopia (blue-blind)
#006873
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #30589d;
/* rgb */ color: rgb(48, 88, 157);
/* oklch */ color: oklch(46.8% 0.121 260.5);
Tailwind
colors: {
  custom: {
    50: '#7586ba',
    500: '#30589d',
    950: '#000000',
  },
}
SCSS
$custom: #30589d;
$custom-light: #7586ba;
$custom-dark: #000000;
JSON
{
  "hex": "#30589d",
  "rgb": {
    "r": 48,
    "g": 88,
    "b": 157
  },
  "hsl": {
    "h": 217.982,
    "s": 53.171,
    "l": 40.196
  },
  "oklch": {
    "l": 0.46783,
    "c": 0.12089,
    "h": 260.5
  },
  "luminance": 0.10042
}

Semantic roles & 50–950 ramp

primary
#30589D
secondary
#BC9F6D
accent
#A74BDD
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #30589D

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

Preview Lab → · Contrast checker → · Palette generator →

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