#30589C#30589C

#30589C is a mid, moderate blue. Relative luminance 0.100; OKLCH L 46.7% C 0.119 H 260.3°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#30589C
RGBrgb(48, 88, 156)
HSLhsl(218, 53%, 40%)
HSVhsv(218, 69%, 61%)
CMYKcmyk(69.2%, 43.6%, 0%, 38.8%)
CIE-LABlab(37.85, 9.35, -41.24)
CIE-LCHlch(37.85, 42.28, 282.77°)
OKLaboklab(46.72% -0.0201 -0.1178)
OKLCHoklch(46.72% 0.119 260.3)
XYZxyz(10.7073, 10.0070, 32.8133)
Luminance0.1001 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30589C #9C7430
analogous
#308E9C #30589C #3E309C
triadic
#30589C #9C3058 #589C30
tetradic
#30589C #9C308E #9C7430 #309C3E
square
#30589C #9C308E #9C7430 #309C3E
split-complementary
#30589C #9C3E30 #8E9C30
monochromatic
#13233E #223E6D #30589C #4474C5 #7397D4

Accessibility & contrast

On white

7.00
#30589C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#30589C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #30589C
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30589C#FFFFFF#000000##FFFFFF
##30589C1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385E9F
Deuteranopia (green-blind)
#26549B
Tritanopia (blue-blind)
#006872
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #30589c;
/* rgb */ color: rgb(48, 88, 156);
/* oklch */ color: oklch(46.7% 0.119 260.3);
Tailwind
colors: {
  custom: {
    50: '#7586b9',
    500: '#30589c',
    950: '#000000',
  },
}
SCSS
$custom: #30589c;
$custom-light: #7586b9;
$custom-dark: #000000;
JSON
{
  "hex": "#30589c",
  "rgb": {
    "r": 48,
    "g": 88,
    "b": 156
  },
  "hsl": {
    "h": 217.778,
    "s": 52.941,
    "l": 40
  },
  "oklch": {
    "l": 0.46716,
    "c": 0.11946,
    "h": 260.3
  },
  "luminance": 0.10008
}

Semantic roles & 50–950 ramp

primary
#30589C
secondary
#BC9E6C
accent
#A74BDC
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #30589C

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

Preview Lab → · Contrast checker → · Palette generator →

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