#305285#305285

#305285 is a dark, moderate blue. Relative luminance 0.084; OKLCH L 43.8% C 0.094 H 258.3°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#305285
RGBrgb(48, 82, 133)
HSLhsl(216, 47%, 35%)
HSVhsv(216, 64%, 52%)
CMYKcmyk(63.9%, 38.3%, 0%, 47.8%)
CIE-LABlab(34.71, 4.73, -32.28)
CIE-LCHlch(34.71, 32.63, 278.33°)
OKLaboklab(43.84% -0.019 -0.0916)
OKLCHoklch(43.84% 0.094 258.3)
XYZxyz(8.4684, 8.3556, 23.3523)
Luminance0.0836 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305285 #856330
analogous
#307C85 #305285 #383085
triadic
#305285 #853052 #528530
tetradic
#305285 #85307C #856330 #308538
square
#305285 #85307C #856330 #308538
split-complementary
#305285 #853830 #7C8530
monochromatic
#101B2B #203658 #305285 #406EB2 #678EC8

Accessibility & contrast

On white

7.86
#305285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#305285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305285
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305285#FFFFFF#000000##FFFFFF
##3052851.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5687
Deuteranopia (green-blind)
#304E84
Tritanopia (blue-blind)
#005E65
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #305285;
/* rgb */ color: rgb(48, 82, 133);
/* oklch */ color: oklch(43.8% 0.094 258.3);
Tailwind
colors: {
  custom: {
    50: '#7182a9',
    500: '#305285',
    950: '#000000',
  },
}
SCSS
$custom: #305285;
$custom-light: #7182a9;
$custom-dark: #000000;
JSON
{
  "hex": "#305285",
  "rgb": {
    "r": 48,
    "g": 82,
    "b": 133
  },
  "hsl": {
    "h": 216,
    "s": 46.961,
    "l": 35.49
  },
  "oklch": {
    "l": 0.43844,
    "c": 0.09354,
    "h": 258.3
  },
  "luminance": 0.08356
}

Semantic roles & 50–950 ramp

primary
#305285
secondary
#AF9061
accent
#A151D7
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #305285

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

Preview Lab → · Contrast checker → · Palette generator →

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