#305AC0#305AC0

#305AC0 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.7% C 0.167 H 264.3°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#305AC0
RGBrgb(48, 90, 192)
HSLhsl(223, 60%, 47%)
HSVhsv(223, 75%, 75%)
CMYKcmyk(75%, 53.1%, 0%, 24.7%)
CIE-LABlab(40.81, 21.60, -57.75)
CIE-LCHlch(40.81, 61.66, 290.51°)
OKLaboklab(49.74% -0.0166 -0.1663)
OKLCHoklch(49.74% 0.167 264.3)
XYZxyz(14.3861, 11.7449, 51.3678)
Luminance0.1175 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305AC0 #C09630
analogous
#30A2C0 #305AC0 #4E30C0
triadic
#305AC0 #C0305A #5AC030
tetradic
#305AC0 #C030A2 #C09630 #30C04E
square
#305AC0 #C030A2 #C09630 #30C04E
split-complementary
#305AC0 #C04E30 #A2C030
monochromatic
#182C5E #24438F #305AC0 #587DD5 #89A3E1

Accessibility & contrast

On white

6.27
#305AC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#305AC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #305AC0
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305AC0#FFFFFF#000000##FFFFFF
##305AC01.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D67C4
Deuteranopia (green-blind)
#005ABE
Tritanopia (blue-blind)
#007384
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #305ac0;
/* rgb */ color: rgb(48, 90, 192);
/* oklch */ color: oklch(49.7% 0.167 264.3);
Tailwind
colors: {
  custom: {
    50: '#7d88d4',
    500: '#305ac0',
    950: '#000000',
  },
}
SCSS
$custom: #305ac0;
$custom-light: #7d88d4;
$custom-dark: #000000;
JSON
{
  "hex": "#305ac0",
  "rgb": {
    "r": 48,
    "g": 90,
    "b": 192
  },
  "hsl": {
    "h": 222.5,
    "s": 60,
    "l": 47.059
  },
  "oklch": {
    "l": 0.49739,
    "c": 0.16714,
    "h": 264.3
  },
  "luminance": 0.11746
}

Semantic roles & 50–950 ramp

primary
#305AC0
secondary
#CBB580
accent
#B545E3
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #305AC0

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

Preview Lab → · Contrast checker → · Palette generator →

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