#305EAA#305EAA

#305EAA is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.0% C 0.132 H 259.9°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#305EAA
RGBrgb(48, 94, 170)
HSLhsl(217, 56%, 43%)
HSVhsv(217, 72%, 67%)
CMYKcmyk(71.8%, 44.7%, 0%, 33.3%)
CIE-LABlab(40.47, 10.71, -45.39)
CIE-LCHlch(40.47, 46.64, 283.27°)
OKLaboklab(49.01% -0.0231 -0.1299)
OKLCHoklch(49.01% 0.132 259.9)
XYZxyz(12.4747, 11.5347, 39.5914)
Luminance0.1154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305EAA #AA7C30
analogous
#309BAA #305EAA #3F30AA
triadic
#305EAA #AA305E #5EAA30
tetradic
#305EAA #AA309B #AA7C30 #30AA3F
square
#305EAA #AA309B #AA7C30 #30AA3F
split-complementary
#305EAA #AA3F30 #9BAA30
monochromatic
#15294B #23447A #305EAA #4B7CCC #7B9FDA

Accessibility & contrast

On white

6.35
#305EAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#305EAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #305EAA
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305EAA#FFFFFF#000000##FFFFFF
##305EAA1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3865AD
Deuteranopia (green-blind)
#215AA8
Tritanopia (blue-blind)
#00707B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #305eaa;
/* rgb */ color: rgb(48, 94, 170);
/* oklch */ color: oklch(49.0% 0.132 259.9);
Tailwind
colors: {
  custom: {
    50: '#788bc4',
    500: '#305eaa',
    950: '#000000',
  },
}
SCSS
$custom: #305eaa;
$custom-light: #788bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#305eaa",
  "rgb": {
    "r": 48,
    "g": 94,
    "b": 170
  },
  "hsl": {
    "h": 217.377,
    "s": 55.963,
    "l": 42.745
  },
  "oklch": {
    "l": 0.4901,
    "c": 0.13193,
    "h": 259.9
  },
  "luminance": 0.11536
}

Semantic roles & 50–950 ramp

primary
#305EAA
secondary
#C2A574
accent
#A649DF
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #305EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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