#30559F#30559F

#30559F is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.2% C 0.127 H 262.5°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#30559F
RGBrgb(48, 85, 159)
HSLhsl(220, 54%, 41%)
HSVhsv(220, 70%, 62%)
CMYKcmyk(69.8%, 46.5%, 0%, 37.6%)
CIE-LABlab(37.17, 12.44, -44.14)
CIE-LCHlch(37.17, 45.86, 285.74°)
OKLaboklab(46.25% -0.0166 -0.1263)
OKLCHoklch(46.25% 0.127 262.5)
XYZxyz(10.7232, 9.6275, 34.0873)
Luminance0.0963 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30559F #9F7A30
analogous
#308C9F #30559F #42309F
triadic
#30559F #9F3055 #559F30
tetradic
#30559F #9F308C #9F7A30 #309F42
square
#30559F #9F308C #9F7A30 #309F42
split-complementary
#30559F #9F4230 #8C9F30
monochromatic
#142341 #223C70 #30559F #4570C7 #7495D5

Accessibility & contrast

On white

7.18
#30559F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#30559F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30559F
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30559F#FFFFFF#000000##FFFFFF
##30559F1.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305DA2
Deuteranopia (green-blind)
#19539D
Tritanopia (blue-blind)
#006672
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #30559f;
/* rgb */ color: rgb(48, 85, 159);
/* oklch */ color: oklch(46.2% 0.127 262.5);
Tailwind
colors: {
  custom: {
    50: '#7684bc',
    500: '#30559f',
    950: '#000000',
  },
}
SCSS
$custom: #30559f;
$custom-light: #7684bc;
$custom-dark: #000000;
JSON
{
  "hex": "#30559f",
  "rgb": {
    "r": 48,
    "g": 85,
    "b": 159
  },
  "hsl": {
    "h": 220,
    "s": 53.623,
    "l": 40.588
  },
  "oklch": {
    "l": 0.46245,
    "c": 0.12742,
    "h": 262.5
  },
  "luminance": 0.09629
}

Semantic roles & 50–950 ramp

primary
#30559F
secondary
#BDA36E
accent
#AC4BDD
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #30559F

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

Preview Lab → · Contrast checker → · Palette generator →

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