#305487#305487

#305487 is a dark, moderate blue. Relative luminance 0.087; OKLCH L 44.4% C 0.094 H 257.3°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#305487
RGBrgb(48, 84, 135)
HSLhsl(215, 48%, 36%)
HSVhsv(215, 64%, 53%)
CMYKcmyk(64.4%, 37.8%, 0%, 47.1%)
CIE-LABlab(35.43, 4.16, -32.36)
CIE-LCHlch(35.43, 32.63, 277.32°)
OKLaboklab(44.44% -0.0207 -0.0918)
OKLCHoklch(44.44% 0.094 257.3)
XYZxyz(8.7609, 8.7175, 24.1379)
Luminance0.0872 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305487 #876330
analogous
#307F87 #305487 #373087
triadic
#305487 #873054 #548730
tetradic
#305487 #87307F #876330 #308737
square
#305487 #87307F #876330 #308737
split-complementary
#305487 #873730 #7F8730
monochromatic
#101C2D #20385A #305487 #4070B4 #6890C9

Accessibility & contrast

On white

7.65
#305487 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#305487 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305487
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305487#FFFFFF#000000##FFFFFF
##3054871.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5889
Deuteranopia (green-blind)
#325086
Tritanopia (blue-blind)
#006067
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #305487;
/* rgb */ color: rgb(48, 84, 135);
/* oklch */ color: oklch(44.4% 0.094 257.3);
Tailwind
colors: {
  custom: {
    50: '#7183aa',
    500: '#305487',
    950: '#000000',
  },
}
SCSS
$custom: #305487;
$custom-light: #7183aa;
$custom-dark: #000000;
JSON
{
  "hex": "#305487",
  "rgb": {
    "r": 48,
    "g": 84,
    "b": 135
  },
  "hsl": {
    "h": 215.172,
    "s": 47.541,
    "l": 35.882
  },
  "oklch": {
    "l": 0.44442,
    "c": 0.09413,
    "h": 257.3
  },
  "luminance": 0.08718
}

Semantic roles & 50–950 ramp

primary
#305487
secondary
#B19062
accent
#9F51D7
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #305487

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

Preview Lab → · Contrast checker → · Palette generator →

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