#30559B#30559B

#30559B is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.0% C 0.122 H 261.8°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#30559B
RGBrgb(48, 85, 155)
HSLhsl(219, 53%, 40%)
HSVhsv(219, 69%, 61%)
CMYKcmyk(69%, 45.2%, 0%, 39.2%)
CIE-LABlab(36.91, 10.94, -42.14)
CIE-LCHlch(36.91, 43.54, 284.55°)
OKLaboklab(45.97% -0.0173 -0.1205)
OKLCHoklch(45.97% 0.122 261.8)
XYZxyz(10.3817, 9.4909, 32.2888)
Luminance0.0949 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30559B #9B7630
analogous
#308B9B #30559B #40309B
triadic
#30559B #9B3055 #559B30
tetradic
#30559B #9B308B #9B7630 #309B40
square
#30559B #9B308B #9B7630 #309B40
split-complementary
#30559B #9B4030 #8B9B30
monochromatic
#13223E #223B6C #30559B #4370C5 #7294D3

Accessibility & contrast

On white

7.25
#30559B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#30559B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30559B
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30559B#FFFFFF#000000##FFFFFF
##30559B1.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335C9E
Deuteranopia (green-blind)
#20529A
Tritanopia (blue-blind)
#006570
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #30559b;
/* rgb */ color: rgb(48, 85, 155);
/* oklch */ color: oklch(46.0% 0.122 261.8);
Tailwind
colors: {
  custom: {
    50: '#7584b9',
    500: '#30559b',
    950: '#000000',
  },
}
SCSS
$custom: #30559b;
$custom-light: #7584b9;
$custom-dark: #000000;
JSON
{
  "hex": "#30559b",
  "rgb": {
    "r": 48,
    "g": 85,
    "b": 155
  },
  "hsl": {
    "h": 219.252,
    "s": 52.709,
    "l": 39.804
  },
  "oklch": {
    "l": 0.45969,
    "c": 0.12171,
    "h": 261.8
  },
  "luminance": 0.09492
}

Semantic roles & 50–950 ramp

primary
#30559B
secondary
#BBA06C
accent
#AA4CDC
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #30559B

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

Preview Lab → · Contrast checker → · Palette generator →

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