#305CA3#305CA3

#305CA3 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.1% C 0.125 H 259.5°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#305CA3
RGBrgb(48, 92, 163)
HSLhsl(217, 55%, 41%)
HSVhsv(217, 71%, 64%)
CMYKcmyk(70.6%, 43.6%, 0%, 36.1%)
CIE-LABlab(39.46, 9.37, -42.86)
CIE-LCHlch(39.46, 43.87, 282.33°)
OKLaboklab(48.09% -0.0226 -0.1225)
OKLCHoklch(48.09% 0.125 259.5)
XYZxyz(11.6546, 10.9258, 36.1379)
Luminance0.1093 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305CA3 #A37730
analogous
#3096A3 #305CA3 #3E30A3
triadic
#305CA3 #A3305C #5CA330
tetradic
#305CA3 #A33096 #A37730 #30A33E
square
#305CA3 #A33096 #A37730 #30A33E
split-complementary
#305CA3 #A33E30 #96A330
monochromatic
#142744 #224174 #305CA3 #4779C9 #779BD7

Accessibility & contrast

On white

6.59
#305CA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#305CA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #305CA3
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305CA3#FFFFFF#000000##FFFFFF
##305CA31.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A63A6
Deuteranopia (green-blind)
#2658A2
Tritanopia (blue-blind)
#006C77
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #305ca3;
/* rgb */ color: rgb(48, 92, 163);
/* oklch */ color: oklch(48.1% 0.125 259.5);
Tailwind
colors: {
  custom: {
    50: '#7689bf',
    500: '#305ca3',
    950: '#000000',
  },
}
SCSS
$custom: #305ca3;
$custom-light: #7689bf;
$custom-dark: #000000;
JSON
{
  "hex": "#305ca3",
  "rgb": {
    "r": 48,
    "g": 92,
    "b": 163
  },
  "hsl": {
    "h": 217.043,
    "s": 54.502,
    "l": 41.373
  },
  "oklch": {
    "l": 0.4809,
    "c": 0.12454,
    "h": 259.5
  },
  "luminance": 0.10927
}

Semantic roles & 50–950 ramp

primary
#305CA3
secondary
#BFA170
accent
#A54ADE
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #305CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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