#305495#305495

#305495 is a mid, moderate blue. Relative luminance 0.091; OKLCH L 45.3% C 0.114 H 261.2°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#305495
RGBrgb(48, 84, 149)
HSLhsl(219, 51%, 39%)
HSVhsv(219, 68%, 58%)
CMYKcmyk(67.8%, 43.6%, 0%, 41.6%)
CIE-LABlab(36.25, 9.35, -39.59)
CIE-LCHlch(36.25, 40.67, 283.28°)
OKLaboklab(45.34% -0.0174 -0.113)
OKLCHoklch(45.34% 0.114 261.2)
XYZxyz(9.8121, 9.1380, 29.6746)
Luminance0.0914 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305495 #957130
analogous
#308695 #305495 #3E3095
triadic
#305495 #953054 #549530
tetradic
#305495 #953086 #957130 #30953E
square
#305495 #953086 #957130 #30953E
split-complementary
#305495 #953E30 #869530
monochromatic
#122038 #213A67 #305495 #416FC2 #6F92D1

Accessibility & contrast

On white

7.43
#305495 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#305495 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305495
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305495#FFFFFF#000000##FFFFFF
##3054951.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365A98
Deuteranopia (green-blind)
#255194
Tritanopia (blue-blind)
#00636D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #305495;
/* rgb */ color: rgb(48, 84, 149);
/* oklch */ color: oklch(45.3% 0.114 261.2);
Tailwind
colors: {
  custom: {
    50: '#7483b4',
    500: '#305495',
    950: '#000000',
  },
}
SCSS
$custom: #305495;
$custom-light: #7483b4;
$custom-dark: #000000;
JSON
{
  "hex": "#305495",
  "rgb": {
    "r": 48,
    "g": 84,
    "b": 149
  },
  "hsl": {
    "h": 218.614,
    "s": 51.269,
    "l": 38.627
  },
  "oklch": {
    "l": 0.45338,
    "c": 0.11432,
    "h": 261.2
  },
  "luminance": 0.09139
}

Semantic roles & 50–950 ramp

primary
#305495
secondary
#B89C69
accent
#A84DDB
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #305495

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

Preview Lab → · Contrast checker → · Palette generator →

#305495 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva