#30559A#30559A

#30559A is a mid, vivid blue. Relative luminance 0.095; OKLCH L 45.9% C 0.120 H 261.6°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#30559A
RGBrgb(48, 85, 154)
HSLhsl(219, 52%, 40%)
HSVhsv(219, 69%, 60%)
CMYKcmyk(68.8%, 44.8%, 0%, 39.6%)
CIE-LABlab(36.85, 10.56, -41.64)
CIE-LCHlch(36.85, 42.96, 284.23°)
OKLaboklab(45.9% -0.0175 -0.119)
OKLCHoklch(45.9% 0.12 261.6)
XYZxyz(10.2981, 9.4574, 31.8483)
Luminance0.0946 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30559A #9A7530
analogous
#308A9A #30559A #40309A
triadic
#30559A #9A3055 #559A30
tetradic
#30559A #9A308A #9A7530 #309A40
square
#30559A #9A308A #9A7530 #309A40
split-complementary
#30559A #9A4030 #8A9A30
monochromatic
#13213D #213B6B #30559A #4370C4 #7293D3

Accessibility & contrast

On white

7.26
#30559A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#30559A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30559A
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30559A#FFFFFF#000000##FFFFFF
##30559A1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345C9D
Deuteranopia (green-blind)
#215299
Tritanopia (blue-blind)
#006570
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #30559a;
/* rgb */ color: rgb(48, 85, 154);
/* oklch */ color: oklch(45.9% 0.120 261.6);
Tailwind
colors: {
  custom: {
    50: '#7584b8',
    500: '#30559a',
    950: '#000000',
  },
}
SCSS
$custom: #30559a;
$custom-light: #7584b8;
$custom-dark: #000000;
JSON
{
  "hex": "#30559a",
  "rgb": {
    "r": 48,
    "g": 85,
    "b": 154
  },
  "hsl": {
    "h": 219.057,
    "s": 52.475,
    "l": 39.608
  },
  "oklch": {
    "l": 0.45901,
    "c": 0.12028,
    "h": 261.6
  },
  "luminance": 0.09458
}

Semantic roles & 50–950 ramp

primary
#30559A
secondary
#BB9F6B
accent
#AA4CDC
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #30559A

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

Preview Lab → · Contrast checker → · Palette generator →

#30559A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva