#305ABA#305ABA

#305ABA is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.3% C 0.159 H 263.8°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#305ABA
RGBrgb(48, 90, 186)
HSLhsl(222, 59%, 46%)
HSVhsv(222, 74%, 73%)
CMYKcmyk(74.2%, 51.6%, 0%, 27.1%)
CIE-LABlab(40.38, 19.34, -54.93)
CIE-LCHlch(40.38, 58.24, 289.40°)
OKLaboklab(49.28% -0.0173 -0.158)
OKLCHoklch(49.28% 0.159 263.8)
XYZxyz(13.7349, 11.4844, 47.9377)
Luminance0.1149 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305ABA #BA9030
analogous
#309FBA #305ABA #4B30BA
triadic
#305ABA #BA305A #5ABA30
tetradic
#305ABA #BA309F #BA9030 #30BA4B
square
#305ABA #BA309F #BA9030 #30BA4B
split-complementary
#305ABA #BA4B30 #9FBA30
monochromatic
#172B59 #234289 #305ABA #547BD3 #85A0DF

Accessibility & contrast

On white

6.37
#305ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#305ABA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #305ABA
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305ABA#FFFFFF#000000##FFFFFF
##305ABA1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C66BD
Deuteranopia (green-blind)
#0059B8
Tritanopia (blue-blind)
#007181
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #305aba;
/* rgb */ color: rgb(48, 90, 186);
/* oklch */ color: oklch(49.3% 0.159 263.8);
Tailwind
colors: {
  custom: {
    50: '#7b88cf',
    500: '#305aba',
    950: '#000000',
  },
}
SCSS
$custom: #305aba;
$custom-light: #7b88cf;
$custom-dark: #000000;
JSON
{
  "hex": "#305aba",
  "rgb": {
    "r": 48,
    "g": 90,
    "b": 186
  },
  "hsl": {
    "h": 221.739,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.49283,
    "c": 0.15896,
    "h": 263.8
  },
  "luminance": 0.11486
}

Semantic roles & 50–950 ramp

primary
#305ABA
secondary
#C9B27D
accent
#B346E2
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #305ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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