#305FAE#305FAE

#305FAE is a mid, vivid blue. Relative luminance 0.119; OKLCH L 49.5% C 0.136 H 260.1°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#305FAE
RGBrgb(48, 95, 174)
HSLhsl(218, 57%, 44%)
HSVhsv(218, 72%, 68%)
CMYKcmyk(72.4%, 45.4%, 0%, 31.8%)
CIE-LABlab(41.00, 11.56, -46.89)
CIE-LCHlch(41.00, 48.30, 283.85°)
OKLaboklab(49.51% -0.0233 -0.1343)
OKLCHoklch(49.51% 0.136 260.1)
XYZxyz(12.9484, 11.8674, 41.6444)
Luminance0.1187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305FAE #AE7F30
analogous
#309EAE #305FAE #4030AE
triadic
#305FAE #AE305F #5FAE30
tetradic
#305FAE #AE309E #AE7F30 #30AE40
square
#305FAE #AE309E #AE7F30 #30AE40
split-complementary
#305FAE #AE4030 #9EAE30
monochromatic
#162B4E #23457E #305FAE #4D7DCE #7DA0DB

Accessibility & contrast

On white

6.22
#305FAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#305FAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #305FAE
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305FAE#FFFFFF#000000##FFFFFF
##305FAE1.006.223.376.22
#FFFFFF6.221.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3767B1
Deuteranopia (green-blind)
#1E5BAC
Tritanopia (blue-blind)
#00717E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #305fae;
/* rgb */ color: rgb(48, 95, 174);
/* oklch */ color: oklch(49.5% 0.136 260.1);
Tailwind
colors: {
  custom: {
    50: '#788bc7',
    500: '#305fae',
    950: '#000000',
  },
}
SCSS
$custom: #305fae;
$custom-light: #788bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#305fae",
  "rgb": {
    "r": 48,
    "g": 95,
    "b": 174
  },
  "hsl": {
    "h": 217.619,
    "s": 56.757,
    "l": 43.529
  },
  "oklch": {
    "l": 0.49505,
    "c": 0.13628,
    "h": 260.1
  },
  "luminance": 0.11869
}

Semantic roles & 50–950 ramp

primary
#305FAE
secondary
#C4A776
accent
#A748E0
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #305FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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