#305A96#305A96

#305A96 is a mid, moderate blue. Relative luminance 0.101; OKLCH L 46.8% C 0.109 H 257.5°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#305A96
RGBrgb(48, 90, 150)
HSLhsl(215, 52%, 39%)
HSVhsv(215, 68%, 59%)
CMYKcmyk(68%, 40%, 0%, 41.2%)
CIE-LABlab(38.10, 5.81, -37.25)
CIE-LCHlch(38.10, 37.70, 278.87°)
OKLaboklab(46.79% -0.0234 -0.106)
OKLCHoklch(46.79% 0.109 257.5)
XYZxyz(10.3781, 10.1417, 30.2589)
Luminance0.1014 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305A96 #966C30
analogous
#308D96 #305A96 #393096
triadic
#305A96 #96305A #5A9630
tetradic
#305A96 #96308D #966C30 #309639
square
#305A96 #96308D #966C30 #309639
split-complementary
#305A96 #963930 #8D9630
monochromatic
#122239 #213E68 #305A96 #4176C2 #6F98D1

Accessibility & contrast

On white

6.93
#305A96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#305A96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #305A96
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305A96#FFFFFF#000000##FFFFFF
##305A961.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5F98
Deuteranopia (green-blind)
#305595
Tritanopia (blue-blind)
#006870
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #305a96;
/* rgb */ color: rgb(48, 90, 150);
/* oklch */ color: oklch(46.8% 0.109 257.5);
Tailwind
colors: {
  custom: {
    50: '#7488b5',
    500: '#305a96',
    950: '#000000',
  },
}
SCSS
$custom: #305a96;
$custom-light: #7488b5;
$custom-dark: #000000;
JSON
{
  "hex": "#305a96",
  "rgb": {
    "r": 48,
    "g": 90,
    "b": 150
  },
  "hsl": {
    "h": 215.294,
    "s": 51.515,
    "l": 38.824
  },
  "oklch": {
    "l": 0.46787,
    "c": 0.10859,
    "h": 257.5
  },
  "luminance": 0.10143
}

Semantic roles & 50–950 ramp

primary
#305A96
secondary
#B99869
accent
#A04DDB
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #305A96

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

Preview Lab → · Contrast checker → · Palette generator →

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