#305AC3#305AC3

#305AC3 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.0% C 0.171 H 264.5°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#305AC3
RGBrgb(48, 90, 195)
HSLhsl(223, 60%, 48%)
HSVhsv(223, 75%, 76%)
CMYKcmyk(75.4%, 53.8%, 0%, 23.5%)
CIE-LABlab(41.02, 22.73, -59.14)
CIE-LCHlch(41.02, 63.36, 291.02°)
OKLaboklab(49.97% -0.0164 -0.1704)
OKLCHoklch(49.97% 0.171 264.5)
XYZxyz(14.7219, 11.8792, 53.1362)
Luminance0.1188 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305AC3 #C39930
analogous
#30A4C3 #305AC3 #4F30C3
triadic
#305AC3 #C3305A #5AC330
tetradic
#305AC3 #C330A4 #C39930 #30C34F
square
#305AC3 #C330A4 #C39930 #30C34F
split-complementary
#305AC3 #C34F30 #A4C330
monochromatic
#182D61 #244392 #305AC3 #5A7DD6 #8BA4E2

Accessibility & contrast

On white

6.22
#305AC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#305AC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #305AC3
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305AC3#FFFFFF#000000##FFFFFF
##305AC31.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0168C7
Deuteranopia (green-blind)
#005AC1
Tritanopia (blue-blind)
#007486
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #305ac3;
/* rgb */ color: rgb(48, 90, 195);
/* oklch */ color: oklch(50.0% 0.171 264.5);
Tailwind
colors: {
  custom: {
    50: '#7d88d6',
    500: '#305ac3',
    950: '#000000',
  },
}
SCSS
$custom: #305ac3;
$custom-light: #7d88d6;
$custom-dark: #000000;
JSON
{
  "hex": "#305ac3",
  "rgb": {
    "r": 48,
    "g": 90,
    "b": 195
  },
  "hsl": {
    "h": 222.857,
    "s": 60.494,
    "l": 47.647
  },
  "oklch": {
    "l": 0.49971,
    "c": 0.1712,
    "h": 264.5
  },
  "luminance": 0.11881
}

Semantic roles & 50–950 ramp

primary
#305AC3
secondary
#CCB782
accent
#B644E4
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #305AC3

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

Preview Lab → · Contrast checker → · Palette generator →

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