#305CAA#305CAA

#305CAA is a mid, vivid blue. Relative luminance 0.112; OKLCH L 48.6% C 0.134 H 260.9°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#305CAA
RGBrgb(48, 92, 170)
HSLhsl(218, 56%, 43%)
HSVhsv(218, 72%, 67%)
CMYKcmyk(71.8%, 45.9%, 0%, 33.3%)
CIE-LABlab(39.89, 12.00, -46.32)
CIE-LCHlch(39.89, 47.85, 284.53°)
OKLaboklab(48.56% -0.0213 -0.1326)
OKLCHoklch(48.56% 0.134 260.9)
XYZxyz(12.2992, 11.1836, 39.5329)
Luminance0.1119 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305CAA #AA7E30
analogous
#3099AA #305CAA #4130AA
triadic
#305CAA #AA305C #5CAA30
tetradic
#305CAA #AA3099 #AA7E30 #30AA41
square
#305CAA #AA3099 #AA7E30 #30AA41
split-complementary
#305CAA #AA4130 #99AA30
monochromatic
#15284B #23427A #305CAA #4B7ACC #7B9DDA

Accessibility & contrast

On white

6.49
#305CAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#305CAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #305CAA
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305CAA#FFFFFF#000000##FFFFFF
##305CAA1.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3464AD
Deuteranopia (green-blind)
#1C59A8
Tritanopia (blue-blind)
#006E7A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #305caa;
/* rgb */ color: rgb(48, 92, 170);
/* oklch */ color: oklch(48.6% 0.134 260.9);
Tailwind
colors: {
  custom: {
    50: '#7889c4',
    500: '#305caa',
    950: '#000000',
  },
}
SCSS
$custom: #305caa;
$custom-light: #7889c4;
$custom-dark: #000000;
JSON
{
  "hex": "#305caa",
  "rgb": {
    "r": 48,
    "g": 92,
    "b": 170
  },
  "hsl": {
    "h": 218.361,
    "s": 55.963,
    "l": 42.745
  },
  "oklch": {
    "l": 0.48564,
    "c": 0.13435,
    "h": 260.9
  },
  "luminance": 0.11185
}

Semantic roles & 50–950 ramp

primary
#305CAA
secondary
#C2A674
accent
#A949DF
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #305CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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