#305DB0#305DB0

#305DB0 is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.2% C 0.141 H 261.4°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#305DB0
RGBrgb(48, 93, 176)
HSLhsl(219, 57%, 44%)
HSVhsv(219, 73%, 69%)
CMYKcmyk(72.7%, 47.2%, 0%, 31%)
CIE-LABlab(40.56, 13.61, -48.79)
CIE-LCHlch(40.56, 50.65, 285.59°)
OKLaboklab(49.2% -0.0212 -0.1399)
OKLCHoklch(49.2% 0.141 261.4)
XYZxyz(12.9669, 11.5903, 42.6196)
Luminance0.1159 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305DB0 #B08330
analogous
#309DB0 #305DB0 #4330B0
triadic
#305DB0 #B0305D #5DB030
tetradic
#305DB0 #B0309D #B08330 #30B043
square
#305DB0 #B0309D #B08330 #30B043
split-complementary
#305DB0 #B04330 #9DB030
monochromatic
#162A50 #234480 #305DB0 #4E7CCF #7E9FDC

Accessibility & contrast

On white

6.33
#305DB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#305DB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #305DB0
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305DB0#FFFFFF#000000##FFFFFF
##305DB01.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3166B3
Deuteranopia (green-blind)
#125AAE
Tritanopia (blue-blind)
#00717E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #305db0;
/* rgb */ color: rgb(48, 93, 176);
/* oklch */ color: oklch(49.2% 0.141 261.4);
Tailwind
colors: {
  custom: {
    50: '#798ac8',
    500: '#305db0',
    950: '#000000',
  },
}
SCSS
$custom: #305db0;
$custom-light: #798ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#305db0",
  "rgb": {
    "r": 48,
    "g": 93,
    "b": 176
  },
  "hsl": {
    "h": 218.906,
    "s": 57.143,
    "l": 43.922
  },
  "oklch": {
    "l": 0.49201,
    "c": 0.14147,
    "h": 261.4
  },
  "luminance": 0.11592
}

Semantic roles & 50–950 ramp

primary
#305DB0
secondary
#C5A977
accent
#AB47E0
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #305DB0

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

Preview Lab → · Contrast checker → · Palette generator →

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