#305DBD#305DBD

#305DBD is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.1% C 0.159 H 263.0°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#305DBD
RGBrgb(48, 93, 189)
HSLhsl(221, 59%, 46%)
HSVhsv(221, 75%, 74%)
CMYKcmyk(74.6%, 50.8%, 0%, 25.9%)
CIE-LABlab(41.42, 18.52, -55.01)
CIE-LCHlch(41.42, 58.04, 288.61°)
OKLaboklab(50.14% -0.0193 -0.1582)
OKLCHoklch(50.14% 0.159 263)
XYZxyz(14.3153, 12.1296, 49.7210)
Luminance0.1213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305DBD #BD9030
analogous
#30A4BD #305DBD #4A30BD
triadic
#305DBD #BD305D #5DBD30
tetradic
#305DBD #BD30A4 #BD9030 #30BD4A
square
#305DBD #BD30A4 #BD9030 #30BD4A
split-complementary
#305DBD #BD4A30 #A4BD30
monochromatic
#172D5B #24458C #305DBD #567ED4 #87A3E0

Accessibility & contrast

On white

6.13
#305DBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#305DBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #305DBD
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305DBD#FFFFFF#000000##FFFFFF
##305DBD1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2169C0
Deuteranopia (green-blind)
#005CBB
Tritanopia (blue-blind)
#007484
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #305dbd;
/* rgb */ color: rgb(48, 93, 189);
/* oklch */ color: oklch(50.1% 0.159 263.0);
Tailwind
colors: {
  custom: {
    50: '#7c8ad1',
    500: '#305dbd',
    950: '#000000',
  },
}
SCSS
$custom: #305dbd;
$custom-light: #7c8ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#305dbd",
  "rgb": {
    "r": 48,
    "g": 93,
    "b": 189
  },
  "hsl": {
    "h": 220.851,
    "s": 59.494,
    "l": 46.471
  },
  "oklch": {
    "l": 0.50139,
    "c": 0.15937,
    "h": 263
  },
  "luminance": 0.12131
}

Semantic roles & 50–950 ramp

primary
#305DBD
secondary
#CAB27F
accent
#B045E3
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #305DBD

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

Preview Lab → · Contrast checker → · Palette generator →

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