#305CBF#305CBF

#305CBF is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.1% C 0.163 H 263.6°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#305CBF
RGBrgb(48, 92, 191)
HSLhsl(222, 60%, 47%)
HSVhsv(222, 75%, 75%)
CMYKcmyk(74.9%, 51.8%, 0%, 25.1%)
CIE-LABlab(41.28, 19.92, -56.40)
CIE-LCHlch(41.28, 59.81, 289.46°)
OKLaboklab(50.08% -0.0183 -0.1623)
OKLCHoklch(50.08% 0.163 263.6)
XYZxyz(14.4467, 12.0427, 50.8432)
Luminance0.1204 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305CBF #BF9330
analogous
#30A4BF #305CBF #4B30BF
triadic
#305CBF #BF305C #5CBF30
tetradic
#305CBF #BF30A4 #BF9330 #30BF4B
square
#305CBF #BF30A4 #BF9330 #30BF4B
split-complementary
#305CBF #BF4B30 #A4BF30
monochromatic
#172D5D #24448E #305CBF #577ED5 #88A4E1

Accessibility & contrast

On white

6.16
#305CBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#305CBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #305CBF
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305CBF#FFFFFF#000000##FFFFFF
##305CBF1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A68C3
Deuteranopia (green-blind)
#005BBD
Tritanopia (blue-blind)
#007484
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #305cbf;
/* rgb */ color: rgb(48, 92, 191);
/* oklch */ color: oklch(50.1% 0.163 263.6);
Tailwind
colors: {
  custom: {
    50: '#7c89d3',
    500: '#305cbf',
    950: '#000000',
  },
}
SCSS
$custom: #305cbf;
$custom-light: #7c89d3;
$custom-dark: #000000;
JSON
{
  "hex": "#305cbf",
  "rgb": {
    "r": 48,
    "g": 92,
    "b": 191
  },
  "hsl": {
    "h": 221.538,
    "s": 59.833,
    "l": 46.863
  },
  "oklch": {
    "l": 0.50078,
    "c": 0.16332,
    "h": 263.6
  },
  "luminance": 0.12044
}

Semantic roles & 50–950 ramp

primary
#305CBF
secondary
#CBB480
accent
#B245E3
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #305CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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