#305B99#305B99

#305B99 is a mid, moderate blue. Relative luminance 0.104; OKLCH L 47.2% C 0.112 H 257.7°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#305B99
RGBrgb(48, 91, 153)
HSLhsl(215, 52%, 39%)
HSVhsv(215, 69%, 60%)
CMYKcmyk(68.6%, 40.5%, 0%, 40%)
CIE-LABlab(38.57, 6.28, -38.30)
CIE-LCHlch(38.57, 38.81, 279.31°)
OKLaboklab(47.21% -0.0238 -0.1091)
OKLCHoklch(47.21% 0.112 257.7)
XYZxyz(10.7077, 10.4094, 31.5757)
Luminance0.1041 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305B99 #996E30
analogous
#309099 #305B99 #3A3099
triadic
#305B99 #99305B #5B9930
tetradic
#305B99 #993090 #996E30 #30993A
square
#305B99 #993090 #996E30 #30993A
split-complementary
#305B99 #993A30 #909930
monochromatic
#13243C #213F6A #305B99 #4277C4 #7199D2

Accessibility & contrast

On white

6.81
#305B99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#305B99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #305B99
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305B99#FFFFFF#000000##FFFFFF
##305B991.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F609B
Deuteranopia (green-blind)
#2F5698
Tritanopia (blue-blind)
#006972
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #305b99;
/* rgb */ color: rgb(48, 91, 153);
/* oklch */ color: oklch(47.2% 0.112 257.7);
Tailwind
colors: {
  custom: {
    50: '#7489b7',
    500: '#305b99',
    950: '#000000',
  },
}
SCSS
$custom: #305b99;
$custom-light: #7489b7;
$custom-dark: #000000;
JSON
{
  "hex": "#305b99",
  "rgb": {
    "r": 48,
    "g": 91,
    "b": 153
  },
  "hsl": {
    "h": 215.429,
    "s": 52.239,
    "l": 39.412
  },
  "oklch": {
    "l": 0.4721,
    "c": 0.11166,
    "h": 257.7
  },
  "luminance": 0.1041
}

Semantic roles & 50–950 ramp

primary
#305B99
secondary
#BA9A6B
accent
#A14CDC
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #305B99

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

Preview Lab → · Contrast checker → · Palette generator →

#305B99 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva