#305FAA#305FAA

#305FAA is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.2% C 0.131 H 259.4°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#305FAA
RGBrgb(48, 95, 170)
HSLhsl(217, 56%, 43%)
HSVhsv(217, 72%, 67%)
CMYKcmyk(71.8%, 44.1%, 0%, 33.3%)
CIE-LABlab(40.76, 10.06, -44.93)
CIE-LCHlch(40.76, 46.04, 282.62°)
OKLaboklab(49.23% -0.0241 -0.1285)
OKLCHoklch(49.23% 0.131 259.4)
XYZxyz(12.5642, 11.7137, 39.6212)
Luminance0.1172 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305FAA #AA7B30
analogous
#309CAA #305FAA #3E30AA
triadic
#305FAA #AA305F #5FAA30
tetradic
#305FAA #AA309C #AA7B30 #30AA3E
square
#305FAA #AA309C #AA7B30 #30AA3E
split-complementary
#305FAA #AA3E30 #9CAA30
monochromatic
#152A4B #23447A #305FAA #4B7DCC #7B9FDA

Accessibility & contrast

On white

6.28
#305FAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#305FAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #305FAA
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305FAA#FFFFFF#000000##FFFFFF
##305FAA1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A66AD
Deuteranopia (green-blind)
#245BA8
Tritanopia (blue-blind)
#00707C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #305faa;
/* rgb */ color: rgb(48, 95, 170);
/* oklch */ color: oklch(49.2% 0.131 259.4);
Tailwind
colors: {
  custom: {
    50: '#788bc4',
    500: '#305faa',
    950: '#000000',
  },
}
SCSS
$custom: #305faa;
$custom-light: #788bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#305faa",
  "rgb": {
    "r": 48,
    "g": 95,
    "b": 170
  },
  "hsl": {
    "h": 216.885,
    "s": 55.963,
    "l": 42.745
  },
  "oklch": {
    "l": 0.49234,
    "c": 0.13073,
    "h": 259.4
  },
  "luminance": 0.11715
}

Semantic roles & 50–950 ramp

primary
#305FAA
secondary
#C2A474
accent
#A549DF
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C12
muted
#7C7D81

Preview Lab

Preview with #305FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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