#305489#305489

#305489 is a dark, moderate blue. Relative luminance 0.088; OKLCH L 44.6% C 0.097 H 258.0°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#305489
RGBrgb(48, 84, 137)
HSLhsl(216, 48%, 36%)
HSVhsv(216, 65%, 54%)
CMYKcmyk(65%, 38.7%, 0%, 46.3%)
CIE-LABlab(35.55, 4.89, -33.41)
CIE-LCHlch(35.55, 33.77, 278.33°)
OKLaboklab(44.57% -0.0202 -0.0949)
OKLCHoklch(44.57% 0.097 258)
XYZxyz(8.9030, 8.7743, 24.8865)
Luminance0.0877 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305489 #896530
analogous
#308189 #305489 #393089
triadic
#305489 #893054 #548930
tetradic
#305489 #893081 #896530 #308939
square
#305489 #893081 #896530 #308939
split-complementary
#305489 #893930 #818930
monochromatic
#101C2E #20385C #305489 #4070B6 #6990CA

Accessibility & contrast

On white

7.62
#305489 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#305489 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305489
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305489#FFFFFF#000000##FFFFFF
##3054891.007.622.757.62
#FFFFFF7.621.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D588B
Deuteranopia (green-blind)
#305088
Tritanopia (blue-blind)
#006068
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #305489;
/* rgb */ color: rgb(48, 84, 137);
/* oklch */ color: oklch(44.6% 0.097 258.0);
Tailwind
colors: {
  custom: {
    50: '#7183ac',
    500: '#305489',
    950: '#000000',
  },
}
SCSS
$custom: #305489;
$custom-light: #7183ac;
$custom-dark: #000000;
JSON
{
  "hex": "#305489",
  "rgb": {
    "r": 48,
    "g": 84,
    "b": 137
  },
  "hsl": {
    "h": 215.73,
    "s": 48.108,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44565,
    "c": 0.097,
    "h": 258
  },
  "luminance": 0.08775
}

Semantic roles & 50–950 ramp

primary
#305489
secondary
#B29263
accent
#A150D8
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #305489

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

Preview Lab → · Contrast checker → · Palette generator →

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