#305BAA#305BAA

#305BAA is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.3% C 0.136 H 261.4°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#305BAA
RGBrgb(48, 91, 170)
HSLhsl(219, 56%, 43%)
HSVhsv(219, 72%, 67%)
CMYKcmyk(71.8%, 46.5%, 0%, 33.3%)
CIE-LABlab(39.60, 12.65, -46.78)
CIE-LCHlch(39.60, 48.46, 285.14°)
OKLaboklab(48.34% -0.0204 -0.134)
OKLCHoklch(48.34% 0.136 261.4)
XYZxyz(12.2131, 11.0115, 39.5042)
Luminance0.1101 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305BAA #AA7F30
analogous
#3098AA #305BAA #4230AA
triadic
#305BAA #AA305B #5BAA30
tetradic
#305BAA #AA3098 #AA7F30 #30AA42
square
#305BAA #AA3098 #AA7F30 #30AA42
split-complementary
#305BAA #AA4230 #98AA30
monochromatic
#15284B #23417A #305BAA #4B79CC #7B9CDA

Accessibility & contrast

On white

6.56
#305BAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#305BAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #305BAA
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305BAA#FFFFFF#000000##FFFFFF
##305BAA1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3263AD
Deuteranopia (green-blind)
#1858A8
Tritanopia (blue-blind)
#006D7A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #305baa;
/* rgb */ color: rgb(48, 91, 170);
/* oklch */ color: oklch(48.3% 0.136 261.4);
Tailwind
colors: {
  custom: {
    50: '#7888c4',
    500: '#305baa',
    950: '#000000',
  },
}
SCSS
$custom: #305baa;
$custom-light: #7888c4;
$custom-dark: #000000;
JSON
{
  "hex": "#305baa",
  "rgb": {
    "r": 48,
    "g": 91,
    "b": 170
  },
  "hsl": {
    "h": 218.852,
    "s": 55.963,
    "l": 42.745
  },
  "oklch": {
    "l": 0.48342,
    "c": 0.13556,
    "h": 261.4
  },
  "luminance": 0.11013
}

Semantic roles & 50–950 ramp

primary
#305BAA
secondary
#C2A674
accent
#AA49DF
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #305BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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