#305ABE#305ABE

#305ABE is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.6% C 0.164 H 264.1°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#305ABE
RGBrgb(48, 90, 190)
HSLhsl(222, 60%, 47%)
HSVhsv(222, 75%, 75%)
CMYKcmyk(74.7%, 52.6%, 0%, 25.5%)
CIE-LABlab(40.67, 20.85, -56.82)
CIE-LCHlch(40.67, 60.52, 290.15°)
OKLaboklab(49.59% -0.0168 -0.1636)
OKLCHoklch(49.59% 0.164 264.1)
XYZxyz(14.1661, 11.6569, 50.2086)
Luminance0.1166 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305ABE #BE9430
analogous
#30A1BE #305ABE #4D30BE
triadic
#305ABE #BE305A #5ABE30
tetradic
#305ABE #BE30A1 #BE9430 #30BE4D
square
#305ABE #BE30A1 #BE9430 #30BE4D
split-complementary
#305ABE #BE4D30 #A1BE30
monochromatic
#172C5C #24438D #305ABE #577CD4 #88A2E1

Accessibility & contrast

On white

6.30
#305ABE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#305ABE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #305ABE
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305ABE#FFFFFF#000000##FFFFFF
##305ABE1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1367C2
Deuteranopia (green-blind)
#005ABC
Tritanopia (blue-blind)
#007283
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #305abe;
/* rgb */ color: rgb(48, 90, 190);
/* oklch */ color: oklch(49.6% 0.164 264.1);
Tailwind
colors: {
  custom: {
    50: '#7c88d2',
    500: '#305abe',
    950: '#000000',
  },
}
SCSS
$custom: #305abe;
$custom-light: #7c88d2;
$custom-dark: #000000;
JSON
{
  "hex": "#305abe",
  "rgb": {
    "r": 48,
    "g": 90,
    "b": 190
  },
  "hsl": {
    "h": 222.254,
    "s": 59.664,
    "l": 46.667
  },
  "oklch": {
    "l": 0.49586,
    "c": 0.16442,
    "h": 264.1
  },
  "luminance": 0.11658
}

Semantic roles & 50–950 ramp

primary
#305ABE
secondary
#CBB47F
accent
#B445E3
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #305ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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