#305DA5#305DA5

#305DA5 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 48.4% C 0.126 H 259.4°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#305DA5
RGBrgb(48, 93, 165)
HSLhsl(217, 55%, 42%)
HSVhsv(217, 71%, 65%)
CMYKcmyk(70.9%, 43.6%, 0%, 35.3%)
CIE-LABlab(39.87, 9.47, -43.39)
CIE-LCHlch(39.87, 44.41, 282.32°)
OKLaboklab(48.45% -0.0232 -0.124)
OKLCHoklch(48.45% 0.126 259.4)
XYZxyz(11.9224, 11.1724, 37.1182)
Luminance0.1117 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305DA5 #A57830
analogous
#3098A5 #305DA5 #3D30A5
triadic
#305DA5 #A5305D #5DA530
tetradic
#305DA5 #A53098 #A57830 #30A53D
square
#305DA5 #A53098 #A57830 #30A53D
split-complementary
#305DA5 #A53D30 #98A530
monochromatic
#142846 #224276 #305DA5 #487ACA #789DD8

Accessibility & contrast

On white

6.49
#305DA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#305DA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #305DA5
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305DA5#FFFFFF#000000##FFFFFF
##305DA51.006.493.236.49
#FFFFFF6.491.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A64A8
Deuteranopia (green-blind)
#2659A4
Tritanopia (blue-blind)
#006E79
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #305da5;
/* rgb */ color: rgb(48, 93, 165);
/* oklch */ color: oklch(48.4% 0.126 259.4);
Tailwind
colors: {
  custom: {
    50: '#778ac0',
    500: '#305da5',
    950: '#000000',
  },
}
SCSS
$custom: #305da5;
$custom-light: #778ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#305da5",
  "rgb": {
    "r": 48,
    "g": 93,
    "b": 165
  },
  "hsl": {
    "h": 216.923,
    "s": 54.93,
    "l": 41.765
  },
  "oklch": {
    "l": 0.48449,
    "c": 0.12614,
    "h": 259.4
  },
  "luminance": 0.11174
}

Semantic roles & 50–950 ramp

primary
#305DA5
secondary
#C0A271
accent
#A54ADE
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #305DA5

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

Preview Lab → · Contrast checker → · Palette generator →

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