#305CAE#305CAE

#305CAE is a mid, vivid blue. Relative luminance 0.113; OKLCH L 48.8% C 0.140 H 261.5°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#305CAE
RGBrgb(48, 92, 174)
HSLhsl(219, 57%, 44%)
HSVhsv(219, 72%, 68%)
CMYKcmyk(72.4%, 47.1%, 0%, 31.8%)
CIE-LABlab(40.14, 13.51, -48.28)
CIE-LCHlch(40.14, 50.13, 285.64°)
OKLaboklab(48.84% -0.0206 -0.1384)
OKLCHoklch(48.84% 0.14 261.5)
XYZxyz(12.6833, 11.3373, 41.5561)
Luminance0.1134 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305CAE #AE8230
analogous
#309BAE #305CAE #4330AE
triadic
#305CAE #AE305C #5CAE30
tetradic
#305CAE #AE309B #AE8230 #30AE43
square
#305CAE #AE309B #AE8230 #30AE43
split-complementary
#305CAE #AE4330 #9BAE30
monochromatic
#16294E #23437E #305CAE #4D7ACE #7D9EDB

Accessibility & contrast

On white

6.43
#305CAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#305CAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #305CAE
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305CAE#FFFFFF#000000##FFFFFF
##305CAE1.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3165B1
Deuteranopia (green-blind)
#1359AC
Tritanopia (blue-blind)
#006F7C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #305cae;
/* rgb */ color: rgb(48, 92, 174);
/* oklch */ color: oklch(48.8% 0.140 261.5);
Tailwind
colors: {
  custom: {
    50: '#7989c7',
    500: '#305cae',
    950: '#000000',
  },
}
SCSS
$custom: #305cae;
$custom-light: #7989c7;
$custom-dark: #000000;
JSON
{
  "hex": "#305cae",
  "rgb": {
    "r": 48,
    "g": 92,
    "b": 174
  },
  "hsl": {
    "h": 219.048,
    "s": 56.757,
    "l": 43.529
  },
  "oklch": {
    "l": 0.48842,
    "c": 0.13991,
    "h": 261.5
  },
  "luminance": 0.11339
}

Semantic roles & 50–950 ramp

primary
#305CAE
secondary
#C4A976
accent
#AB48E0
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #305CAE

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

Preview Lab → · Contrast checker → · Palette generator →

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