#305DA1#305DA1

#305DA1 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.2% C 0.121 H 258.5°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#305DA1
RGBrgb(48, 93, 161)
HSLhsl(216, 54%, 41%)
HSVhsv(216, 70%, 63%)
CMYKcmyk(70.2%, 42.2%, 0%, 36.9%)
CIE-LABlab(39.63, 7.98, -41.39)
CIE-LCHlch(39.63, 42.15, 280.91°)
OKLaboklab(48.19% -0.024 -0.1181)
OKLCHoklch(48.19% 0.121 258.5)
XYZxyz(11.5640, 11.0291, 35.2307)
Luminance0.1103 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305DA1 #A17430
analogous
#3095A1 #305DA1 #3B30A1
triadic
#305DA1 #A1305D #5DA130
tetradic
#305DA1 #A13095 #A17430 #30A13B
square
#305DA1 #A13095 #A17430 #30A13B
split-complementary
#305DA1 #A13B30 #95A130
monochromatic
#142743 #224272 #305DA1 #467AC8 #759CD6

Accessibility & contrast

On white

6.55
#305DA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#305DA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #305DA1
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305DA1#FFFFFF#000000##FFFFFF
##305DA11.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D63A4
Deuteranopia (green-blind)
#2B59A0
Tritanopia (blue-blind)
#006D77
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #305da1;
/* rgb */ color: rgb(48, 93, 161);
/* oklch */ color: oklch(48.2% 0.121 258.5);
Tailwind
colors: {
  custom: {
    50: '#768abd',
    500: '#305da1',
    950: '#000000',
  },
}
SCSS
$custom: #305da1;
$custom-light: #768abd;
$custom-dark: #000000;
JSON
{
  "hex": "#305da1",
  "rgb": {
    "r": 48,
    "g": 93,
    "b": 161
  },
  "hsl": {
    "h": 216.106,
    "s": 54.067,
    "l": 40.98
  },
  "oklch": {
    "l": 0.48186,
    "c": 0.12055,
    "h": 258.5
  },
  "luminance": 0.1103
}

Semantic roles & 50–950 ramp

primary
#305DA1
secondary
#BE9E6F
accent
#A34ADD
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #305DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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