#305DBF#305DBF

#305DBF is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.3% C 0.162 H 263.2°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#305DBF
RGBrgb(48, 93, 191)
HSLhsl(221, 60%, 47%)
HSVhsv(221, 75%, 75%)
CMYKcmyk(74.9%, 51.3%, 0%, 25.1%)
CIE-LABlab(41.56, 19.27, -55.95)
CIE-LCHlch(41.56, 59.18, 289.01°)
OKLaboklab(50.29% -0.0191 -0.161)
OKLCHoklch(50.29% 0.162 263.2)
XYZxyz(14.5339, 12.2171, 50.8723)
Luminance0.1222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305DBF #BF9230
analogous
#30A5BF #305DBF #4B30BF
triadic
#305DBF #BF305D #5DBF30
tetradic
#305DBF #BF30A5 #BF9230 #30BF4B
square
#305DBF #BF30A5 #BF9230 #30BF4B
split-complementary
#305DBF #BF4B30 #A5BF30
monochromatic
#172D5D #24458E #305DBF #577FD5 #88A4E1

Accessibility & contrast

On white

6.10
#305DBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#305DBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #305DBF
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305DBF#FFFFFF#000000##FFFFFF
##305DBF1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E69C3
Deuteranopia (green-blind)
#005CBD
Tritanopia (blue-blind)
#007585
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #305dbf;
/* rgb */ color: rgb(48, 93, 191);
/* oklch */ color: oklch(50.3% 0.162 263.2);
Tailwind
colors: {
  custom: {
    50: '#7c8ad3',
    500: '#305dbf',
    950: '#000000',
  },
}
SCSS
$custom: #305dbf;
$custom-light: #7c8ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#305dbf",
  "rgb": {
    "r": 48,
    "g": 93,
    "b": 191
  },
  "hsl": {
    "h": 221.119,
    "s": 59.833,
    "l": 46.863
  },
  "oklch": {
    "l": 0.50288,
    "c": 0.1621,
    "h": 263.2
  },
  "luminance": 0.12219
}

Semantic roles & 50–950 ramp

primary
#305DBF
secondary
#CBB380
accent
#B145E3
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #305DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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