#305AA3#305AA3

#305AA3 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 47.6% C 0.127 H 260.6°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#305AA3
RGBrgb(48, 90, 163)
HSLhsl(218, 55%, 41%)
HSVhsv(218, 71%, 64%)
CMYKcmyk(70.6%, 44.8%, 0%, 36.1%)
CIE-LABlab(38.87, 10.67, -43.80)
CIE-LCHlch(38.87, 45.08, 283.69°)
OKLaboklab(47.64% -0.0207 -0.1252)
OKLCHoklch(47.64% 0.127 260.6)
XYZxyz(11.4836, 10.5839, 36.0809)
Luminance0.1058 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305AA3 #A37930
analogous
#3094A3 #305AA3 #4030A3
triadic
#305AA3 #A3305A #5AA330
tetradic
#305AA3 #A33094 #A37930 #30A340
square
#305AA3 #A33094 #A37930 #30A340
split-complementary
#305AA3 #A34030 #94A330
monochromatic
#142644 #224074 #305AA3 #4777C9 #779AD7

Accessibility & contrast

On white

6.74
#305AA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#305AA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #305AA3
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305AA3#FFFFFF#000000##FFFFFF
##305AA31.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3661A6
Deuteranopia (green-blind)
#2157A2
Tritanopia (blue-blind)
#006B76
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #305aa3;
/* rgb */ color: rgb(48, 90, 163);
/* oklch */ color: oklch(47.6% 0.127 260.6);
Tailwind
colors: {
  custom: {
    50: '#7688bf',
    500: '#305aa3',
    950: '#000000',
  },
}
SCSS
$custom: #305aa3;
$custom-light: #7688bf;
$custom-dark: #000000;
JSON
{
  "hex": "#305aa3",
  "rgb": {
    "r": 48,
    "g": 90,
    "b": 163
  },
  "hsl": {
    "h": 218.087,
    "s": 54.502,
    "l": 41.373
  },
  "oklch": {
    "l": 0.47639,
    "c": 0.12694,
    "h": 260.6
  },
  "luminance": 0.10585
}

Semantic roles & 50–950 ramp

primary
#305AA3
secondary
#BFA270
accent
#A84ADE
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #305AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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