#305BD0#305BD0

#305BD0 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.2% C 0.187 H 265.0°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#305BD0
RGBrgb(48, 91, 208)
HSLhsl(224, 63%, 50%)
HSVhsv(224, 77%, 82%)
CMYKcmyk(76.9%, 56.2%, 0%, 18.4%)
CIE-LABlab(42.25, 26.95, -64.66)
CIE-LCHlch(42.25, 70.05, 292.62°)
OKLaboklab(51.2% -0.0162 -0.1866)
OKLCHoklch(51.2% 0.187 265)
XYZxyz(16.3412, 12.6628, 61.2452)
Luminance0.1267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305BD0 #D0A530
analogous
#30ABD0 #305BD0 #5530D0
triadic
#305BD0 #D0305B #5BD030
tetradic
#305BD0 #D030AB #D0A530 #30D055
square
#305BD0 #D030AB #D0A530 #30D055
split-complementary
#305BD0 #D05530 #ABD030
monochromatic
#192F6D #24459F #305BD0 #6283DB #94AAE7

Accessibility & contrast

On white

5.94
#305BD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#305BD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #305BD0
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305BD0#FFFFFF#000000##FFFFFF
##305BD01.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD4
Deuteranopia (green-blind)
#005DCE
Tritanopia (blue-blind)
#00788C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #305bd0;
/* rgb */ color: rgb(48, 91, 208);
/* oklch */ color: oklch(51.2% 0.187 265.0);
Tailwind
colors: {
  custom: {
    50: '#8088df',
    500: '#305bd0',
    950: '#000000',
  },
}
SCSS
$custom: #305bd0;
$custom-light: #8088df;
$custom-dark: #000000;
JSON
{
  "hex": "#305bd0",
  "rgb": {
    "r": 48,
    "g": 91,
    "b": 208
  },
  "hsl": {
    "h": 223.875,
    "s": 62.992,
    "l": 50.196
  },
  "oklch": {
    "l": 0.512,
    "c": 0.18732,
    "h": 265
  },
  "luminance": 0.12665
}

Semantic roles & 50–950 ramp

primary
#305BD0
secondary
#D2BE8A
accent
#BA42E6
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #305BD0

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

Preview Lab → · Contrast checker → · Palette generator →

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