#305FBD#305FBD

#305FBD is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.6% C 0.157 H 262.3°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#305FBD
RGBrgb(48, 95, 189)
HSLhsl(220, 59%, 46%)
HSVhsv(220, 75%, 74%)
CMYKcmyk(74.6%, 49.7%, 0%, 25.9%)
CIE-LABlab(41.98, 17.22, -54.11)
CIE-LCHlch(41.98, 56.79, 287.65°)
OKLaboklab(50.56% -0.021 -0.1555)
OKLCHoklch(50.56% 0.157 262.3)
XYZxyz(14.4932, 12.4853, 49.7803)
Luminance0.1249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305FBD #BD8E30
analogous
#30A6BD #305FBD #4830BD
triadic
#305FBD #BD305F #5FBD30
tetradic
#305FBD #BD30A6 #BD8E30 #30BD48
square
#305FBD #BD30A6 #BD8E30 #30BD48
split-complementary
#305FBD #BD4830 #A6BD30
monochromatic
#172E5B #24468C #305FBD #5680D4 #87A5E0

Accessibility & contrast

On white

6.00
#305FBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#305FBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #305FBD
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305FBD#FFFFFF#000000##FFFFFF
##305FBD1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#276AC0
Deuteranopia (green-blind)
#005DBB
Tritanopia (blue-blind)
#007585
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #305fbd;
/* rgb */ color: rgb(48, 95, 189);
/* oklch */ color: oklch(50.6% 0.157 262.3);
Tailwind
colors: {
  custom: {
    50: '#7c8bd1',
    500: '#305fbd',
    950: '#000000',
  },
}
SCSS
$custom: #305fbd;
$custom-light: #7c8bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#305fbd",
  "rgb": {
    "r": 48,
    "g": 95,
    "b": 189
  },
  "hsl": {
    "h": 220,
    "s": 59.494,
    "l": 46.471
  },
  "oklch": {
    "l": 0.50563,
    "c": 0.15693,
    "h": 262.3
  },
  "luminance": 0.12487
}

Semantic roles & 50–950 ramp

primary
#305FBD
secondary
#CAB17F
accent
#AE45E3
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #305FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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