#305EBF#305EBF

#305EBF is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.5% C 0.161 H 262.9°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#305EBF
RGBrgb(48, 94, 191)
HSLhsl(221, 60%, 47%)
HSVhsv(221, 75%, 75%)
CMYKcmyk(74.9%, 50.8%, 0%, 25.1%)
CIE-LABlab(41.84, 18.62, -55.51)
CIE-LCHlch(41.84, 58.55, 288.55°)
OKLaboklab(50.5% -0.0199 -0.1596)
OKLCHoklch(50.5% 0.161 262.9)
XYZxyz(14.6222, 12.3938, 50.9017)
Luminance0.1240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305EBF #BF9130
analogous
#30A6BF #305EBF #4930BF
triadic
#305EBF #BF305E #5EBF30
tetradic
#305EBF #BF30A6 #BF9130 #30BF49
square
#305EBF #BF30A6 #BF9130 #30BF49
split-complementary
#305EBF #BF4930 #A6BF30
monochromatic
#172E5D #24468E #305EBF #5780D5 #88A5E1

Accessibility & contrast

On white

6.04
#305EBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#305EBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #305EBF
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305EBF#FFFFFF#000000##FFFFFF
##305EBF1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#216AC2
Deuteranopia (green-blind)
#005DBD
Tritanopia (blue-blind)
#007585
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #305ebf;
/* rgb */ color: rgb(48, 94, 191);
/* oklch */ color: oklch(50.5% 0.161 262.9);
Tailwind
colors: {
  custom: {
    50: '#7c8bd3',
    500: '#305ebf',
    950: '#000000',
  },
}
SCSS
$custom: #305ebf;
$custom-light: #7c8bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#305ebf",
  "rgb": {
    "r": 48,
    "g": 94,
    "b": 191
  },
  "hsl": {
    "h": 220.699,
    "s": 59.833,
    "l": 46.863
  },
  "oklch": {
    "l": 0.50498,
    "c": 0.16088,
    "h": 262.9
  },
  "luminance": 0.12395
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #305EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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