#305A99#305A99

#305A99 is a mid, moderate blue. Relative luminance 0.102; OKLCH L 47.0% C 0.113 H 258.4°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#305A99
RGBrgb(48, 90, 153)
HSLhsl(216, 52%, 39%)
HSVhsv(216, 69%, 60%)
CMYKcmyk(68.6%, 41.2%, 0%, 40%)
CIE-LABlab(38.27, 6.93, -38.77)
CIE-LCHlch(38.27, 39.39, 280.13°)
OKLaboklab(46.98% -0.0227 -0.1105)
OKLCHoklch(46.98% 0.113 258.4)
XYZxyz(10.6228, 10.2395, 31.5474)
Luminance0.1024 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305A99 #996F30
analogous
#308F99 #305A99 #3B3099
triadic
#305A99 #99305A #5A9930
tetradic
#305A99 #99308F #996F30 #30993B
square
#305A99 #99308F #996F30 #30993B
split-complementary
#305A99 #993B30 #8F9930
monochromatic
#13233C #213F6A #305A99 #4276C4 #7198D2

Accessibility & contrast

On white

6.89
#305A99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#305A99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #305A99
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305A99#FFFFFF#000000##FFFFFF
##305A991.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5F9B
Deuteranopia (green-blind)
#2D5698
Tritanopia (blue-blind)
#006972
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #305a99;
/* rgb */ color: rgb(48, 90, 153);
/* oklch */ color: oklch(47.0% 0.113 258.4);
Tailwind
colors: {
  custom: {
    50: '#7488b7',
    500: '#305a99',
    950: '#000000',
  },
}
SCSS
$custom: #305a99;
$custom-light: #7488b7;
$custom-dark: #000000;
JSON
{
  "hex": "#305a99",
  "rgb": {
    "r": 48,
    "g": 90,
    "b": 153
  },
  "hsl": {
    "h": 216,
    "s": 52.239,
    "l": 39.412
  },
  "oklch": {
    "l": 0.46979,
    "c": 0.11283,
    "h": 258.4
  },
  "luminance": 0.10241
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #305A99

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

Preview Lab → · Contrast checker → · Palette generator →

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