#305EBC#305EBC

#305EBC is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.3% C 0.157 H 262.6°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#305EBC
RGBrgb(48, 94, 188)
HSLhsl(220, 59%, 46%)
HSVhsv(220, 74%, 74%)
CMYKcmyk(74.5%, 50%, 0%, 26.3%)
CIE-LABlab(41.63, 17.49, -54.09)
CIE-LCHlch(41.63, 56.85, 287.92°)
OKLaboklab(50.28% -0.0203 -0.1555)
OKLCHoklch(50.28% 0.157 262.6)
XYZxyz(14.2955, 12.2630, 49.1808)
Luminance0.1226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305EBC #BC8E30
analogous
#30A4BC #305EBC #4830BC
triadic
#305EBC #BC305E #5EBC30
tetradic
#305EBC #BC30A4 #BC8E30 #30BC48
square
#305EBC #BC30A4 #BC8E30 #30BC48
split-complementary
#305EBC #BC4830 #A4BC30
monochromatic
#172D5A #24468B #305EBC #557FD4 #86A4E0

Accessibility & contrast

On white

6.08
#305EBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#305EBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #305EBC
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305EBC#FFFFFF#000000##FFFFFF
##305EBC1.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2669BF
Deuteranopia (green-blind)
#005CBA
Tritanopia (blue-blind)
#007484
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #305ebc;
/* rgb */ color: rgb(48, 94, 188);
/* oklch */ color: oklch(50.3% 0.157 262.6);
Tailwind
colors: {
  custom: {
    50: '#7b8bd1',
    500: '#305ebc',
    950: '#000000',
  },
}
SCSS
$custom: #305ebc;
$custom-light: #7b8bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#305ebc",
  "rgb": {
    "r": 48,
    "g": 94,
    "b": 188
  },
  "hsl": {
    "h": 220.286,
    "s": 59.322,
    "l": 46.275
  },
  "oklch": {
    "l": 0.50277,
    "c": 0.15678,
    "h": 262.6
  },
  "luminance": 0.12265
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #305EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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