#305AB0#305AB0

#305AB0 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.5% C 0.145 H 262.7°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#305AB0
RGBrgb(48, 90, 176)
HSLhsl(220, 57%, 44%)
HSVhsv(220, 73%, 69%)
CMYKcmyk(72.7%, 48.9%, 0%, 31%)
CIE-LABlab(39.70, 15.57, -50.16)
CIE-LCHlch(39.70, 52.52, 287.25°)
OKLaboklab(48.55% -0.0185 -0.144)
OKLCHoklch(48.55% 0.145 262.7)
XYZxyz(12.7088, 11.0739, 42.5336)
Luminance0.1108 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305AB0 #B08630
analogous
#309AB0 #305AB0 #4630B0
triadic
#305AB0 #B0305A #5AB030
tetradic
#305AB0 #B0309A #B08630 #30B046
square
#305AB0 #B0309A #B08630 #30B046
split-complementary
#305AB0 #B04630 #9AB030
monochromatic
#162950 #234180 #305AB0 #4E79CF #7E9DDC

Accessibility & contrast

On white

6.53
#305AB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#305AB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #305AB0
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305AB0#FFFFFF#000000##FFFFFF
##305AB01.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A64B3
Deuteranopia (green-blind)
#0058AE
Tritanopia (blue-blind)
#006E7C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #305ab0;
/* rgb */ color: rgb(48, 90, 176);
/* oklch */ color: oklch(48.5% 0.145 262.7);
Tailwind
colors: {
  custom: {
    50: '#7988c8',
    500: '#305ab0',
    950: '#000000',
  },
}
SCSS
$custom: #305ab0;
$custom-light: #7988c8;
$custom-dark: #000000;
JSON
{
  "hex": "#305ab0",
  "rgb": {
    "r": 48,
    "g": 90,
    "b": 176
  },
  "hsl": {
    "h": 220.313,
    "s": 57.143,
    "l": 43.922
  },
  "oklch": {
    "l": 0.48548,
    "c": 0.14516,
    "h": 262.7
  },
  "luminance": 0.11075
}

Semantic roles & 50–950 ramp

primary
#305AB0
secondary
#C5AB77
accent
#AE47E0
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #305AB0

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

Preview Lab → · Contrast checker → · Palette generator →

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