#30558E#30558E

#30558E is a mid, moderate blue. Relative luminance 0.091; OKLCH L 45.1% C 0.103 H 258.8°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#30558E
RGBrgb(48, 85, 142)
HSLhsl(216, 49%, 37%)
HSVhsv(216, 66%, 56%)
CMYKcmyk(66.2%, 40.1%, 0%, 44.3%)
CIE-LABlab(36.13, 6.09, -35.53)
CIE-LCHlch(36.13, 36.04, 279.72°)
OKLaboklab(45.11% -0.02 -0.1011)
OKLCHoklch(45.11% 0.103 258.8)
XYZxyz(9.3482, 9.0775, 26.8454)
Luminance0.0908 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30558E #8E6930
analogous
#30848E #30558E #3A308E
triadic
#30558E #8E3055 #558E30
tetradic
#30558E #8E3084 #8E6930 #308E3A
square
#30558E #8E3084 #8E6930 #308E3A
split-complementary
#30558E #8E3A30 #848E30
monochromatic
#111E33 #213A60 #30558E #3F70BC #6B92CD

Accessibility & contrast

On white

7.46
#30558E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#30558E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30558E
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30558E#FFFFFF#000000##FFFFFF
##30558E1.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5A90
Deuteranopia (green-blind)
#2E518D
Tritanopia (blue-blind)
#00626A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #30558e;
/* rgb */ color: rgb(48, 85, 142);
/* oklch */ color: oklch(45.1% 0.103 258.8);
Tailwind
colors: {
  custom: {
    50: '#7284af',
    500: '#30558e',
    950: '#000000',
  },
}
SCSS
$custom: #30558e;
$custom-light: #7284af;
$custom-dark: #000000;
JSON
{
  "hex": "#30558e",
  "rgb": {
    "r": 48,
    "g": 85,
    "b": 142
  },
  "hsl": {
    "h": 216.383,
    "s": 49.474,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45114,
    "c": 0.10303,
    "h": 258.8
  },
  "luminance": 0.09078
}

Semantic roles & 50–950 ramp

primary
#30558E
secondary
#B49565
accent
#A34FD9
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #30558E

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

Preview Lab → · Contrast checker → · Palette generator →

#30558E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva