#305491#305491

#305491 is a mid, moderate blue. Relative luminance 0.090; OKLCH L 45.1% C 0.109 H 260.3°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#305491
RGBrgb(48, 84, 145)
HSLhsl(218, 50%, 38%)
HSVhsv(218, 67%, 57%)
CMYKcmyk(66.9%, 42.1%, 0%, 43.1%)
CIE-LABlab(36.01, 7.85, -37.55)
CIE-LCHlch(36.01, 38.36, 281.82°)
OKLaboklab(45.07% -0.0183 -0.107)
OKLCHoklch(45.07% 0.109 260.3)
XYZxyz(9.4983, 9.0124, 28.0216)
Luminance0.0901 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305491 #916D30
analogous
#308491 #305491 #3C3091
triadic
#305491 #913054 #549130
tetradic
#305491 #913084 #916D30 #30913C
square
#305491 #913084 #916D30 #30913C
split-complementary
#305491 #913C30 #849130
monochromatic
#121F35 #213963 #305491 #3F6FBF #6D91CF

Accessibility & contrast

On white

7.49
#305491 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#305491 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305491
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305491#FFFFFF#000000##FFFFFF
##3054911.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385A93
Deuteranopia (green-blind)
#295190
Tritanopia (blue-blind)
#00626B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #305491;
/* rgb */ color: rgb(48, 84, 145);
/* oklch */ color: oklch(45.1% 0.109 260.3);
Tailwind
colors: {
  custom: {
    50: '#7383b1',
    500: '#305491',
    950: '#000000',
  },
}
SCSS
$custom: #305491;
$custom-light: #7383b1;
$custom-dark: #000000;
JSON
{
  "hex": "#305491",
  "rgb": {
    "r": 48,
    "g": 84,
    "b": 145
  },
  "hsl": {
    "h": 217.732,
    "s": 50.259,
    "l": 37.843
  },
  "oklch": {
    "l": 0.45074,
    "c": 0.10855,
    "h": 260.3
  },
  "luminance": 0.09013
}

Semantic roles & 50–950 ramp

primary
#305491
secondary
#B69967
accent
#A64EDA
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #305491

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

Preview Lab → · Contrast checker → · Palette generator →

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