#305EAC#305EAC

#305EAC is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.1% C 0.135 H 260.3°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#305EAC
RGBrgb(48, 94, 172)
HSLhsl(218, 56%, 43%)
HSVhsv(218, 72%, 67%)
CMYKcmyk(72.1%, 45.3%, 0%, 32.5%)
CIE-LABlab(40.59, 11.46, -46.38)
CIE-LCHlch(40.59, 47.77, 283.88°)
OKLaboklab(49.15% -0.0228 -0.1328)
OKLCHoklch(49.15% 0.135 260.3)
XYZxyz(12.6653, 11.6110, 40.5954)
Luminance0.1161 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305EAC #AC7E30
analogous
#309CAC #305EAC #4030AC
triadic
#305EAC #AC305E #5EAC30
tetradic
#305EAC #AC309C #AC7E30 #30AC40
square
#305EAC #AC309C #AC7E30 #30AC40
split-complementary
#305EAC #AC4030 #9CAC30
monochromatic
#152A4C #23447C #305EAC #4C7CCD #7C9FDA

Accessibility & contrast

On white

6.32
#305EAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#305EAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #305EAC
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305EAC#FFFFFF#000000##FFFFFF
##305EAC1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3766AF
Deuteranopia (green-blind)
#1E5AAA
Tritanopia (blue-blind)
#00707C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #305eac;
/* rgb */ color: rgb(48, 94, 172);
/* oklch */ color: oklch(49.1% 0.135 260.3);
Tailwind
colors: {
  custom: {
    50: '#788bc5',
    500: '#305eac',
    950: '#000000',
  },
}
SCSS
$custom: #305eac;
$custom-light: #788bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#305eac",
  "rgb": {
    "r": 48,
    "g": 94,
    "b": 172
  },
  "hsl": {
    "h": 217.742,
    "s": 56.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.49146,
    "c": 0.13471,
    "h": 260.3
  },
  "luminance": 0.11612
}

Semantic roles & 50–950 ramp

primary
#305EAC
secondary
#C3A675
accent
#A748E0
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #305EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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