#305DBC#305DBC

#305DBC is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.1% C 0.158 H 262.9°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#305DBC
RGBrgb(48, 93, 188)
HSLhsl(221, 59%, 46%)
HSVhsv(221, 74%, 74%)
CMYKcmyk(74.5%, 50.5%, 0%, 26.3%)
CIE-LABlab(41.35, 18.14, -54.54)
CIE-LCHlch(41.35, 57.48, 288.40°)
OKLaboklab(50.07% -0.0195 -0.1568)
OKLCHoklch(50.07% 0.158 262.9)
XYZxyz(14.2071, 12.0864, 49.1513)
Luminance0.1209 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305DBC #BC8F30
analogous
#30A3BC #305DBC #4930BC
triadic
#305DBC #BC305D #5DBC30
tetradic
#305DBC #BC30A3 #BC8F30 #30BC49
square
#305DBC #BC30A3 #BC8F30 #30BC49
split-complementary
#305DBC #BC4930 #A3BC30
monochromatic
#172D5A #24458B #305DBC #557ED4 #86A3E0

Accessibility & contrast

On white

6.14
#305DBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#305DBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #305DBC
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305DBC#FFFFFF#000000##FFFFFF
##305DBC1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2368BF
Deuteranopia (green-blind)
#005BBA
Tritanopia (blue-blind)
#007483
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #305dbc;
/* rgb */ color: rgb(48, 93, 188);
/* oklch */ color: oklch(50.1% 0.158 262.9);
Tailwind
colors: {
  custom: {
    50: '#7b8ad1',
    500: '#305dbc',
    950: '#000000',
  },
}
SCSS
$custom: #305dbc;
$custom-light: #7b8ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#305dbc",
  "rgb": {
    "r": 48,
    "g": 93,
    "b": 188
  },
  "hsl": {
    "h": 220.714,
    "s": 59.322,
    "l": 46.275
  },
  "oklch": {
    "l": 0.50065,
    "c": 0.158,
    "h": 262.9
  },
  "luminance": 0.12088
}

Semantic roles & 50–950 ramp

primary
#305DBC
secondary
#CAB17E
accent
#B045E3
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #305DBC

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

Preview Lab → · Contrast checker → · Palette generator →

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