#305CBD#305CBD

#305CBD is a mid, vivid blue. Relative luminance 0.120; OKLCH L 49.9% C 0.161 H 263.4°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#305CBD
RGBrgb(48, 92, 189)
HSLhsl(221, 59%, 46%)
HSVhsv(221, 75%, 74%)
CMYKcmyk(74.6%, 51.3%, 0%, 25.9%)
CIE-LABlab(41.14, 19.17, -55.46)
CIE-LCHlch(41.14, 58.68, 289.07°)
OKLaboklab(49.93% -0.0185 -0.1595)
OKLCHoklch(49.93% 0.161 263.4)
XYZxyz(14.2281, 11.9552, 49.6920)
Luminance0.1196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305CBD #BD9130
analogous
#30A3BD #305CBD #4B30BD
triadic
#305CBD #BD305C #5CBD30
tetradic
#305CBD #BD30A3 #BD9130 #30BD4B
square
#305CBD #BD30A3 #BD9130 #30BD4B
split-complementary
#305CBD #BD4B30 #A3BD30
monochromatic
#172C5B #24448C #305CBD #567DD4 #87A3E0

Accessibility & contrast

On white

6.19
#305CBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#305CBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #305CBD
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305CBD#FFFFFF#000000##FFFFFF
##305CBD1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E68C0
Deuteranopia (green-blind)
#005BBB
Tritanopia (blue-blind)
#007383
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #305cbd;
/* rgb */ color: rgb(48, 92, 189);
/* oklch */ color: oklch(49.9% 0.161 263.4);
Tailwind
colors: {
  custom: {
    50: '#7c89d1',
    500: '#305cbd',
    950: '#000000',
  },
}
SCSS
$custom: #305cbd;
$custom-light: #7c89d1;
$custom-dark: #000000;
JSON
{
  "hex": "#305cbd",
  "rgb": {
    "r": 48,
    "g": 92,
    "b": 189
  },
  "hsl": {
    "h": 221.277,
    "s": 59.494,
    "l": 46.471
  },
  "oklch": {
    "l": 0.49928,
    "c": 0.1606,
    "h": 263.4
  },
  "luminance": 0.11957
}

Semantic roles & 50–950 ramp

primary
#305CBD
secondary
#CAB37F
accent
#B245E3
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #305CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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