#305290#305290

#305290 is a dark, moderate blue. Relative luminance 0.087; OKLCH L 44.5% C 0.110 H 261.4°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#305290
RGBrgb(48, 82, 144)
HSLhsl(219, 50%, 38%)
HSVhsv(219, 67%, 56%)
CMYKcmyk(66.7%, 43.1%, 0%, 43.5%)
CIE-LABlab(35.35, 8.79, -37.98)
CIE-LCHlch(35.35, 38.99, 283.04°)
OKLaboklab(44.55% -0.0164 -0.1083)
OKLCHoklch(44.55% 0.11 261.4)
XYZxyz(9.2685, 8.6757, 27.5663)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305290 #906E30
analogous
#308290 #305290 #3E3090
triadic
#305290 #903052 #529030
tetradic
#305290 #903082 #906E30 #30903E
square
#305290 #903082 #906E30 #30903E
split-complementary
#305290 #903E30 #829030
monochromatic
#111E34 #213862 #305290 #3F6CBE #6C8FCE

Accessibility & contrast

On white

7.68
#305290 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #305290
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305290#FFFFFF#000000##FFFFFF
##3052901.007.682.747.68
#FFFFFF7.681.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355892
Deuteranopia (green-blind)
#274F8F
Tritanopia (blue-blind)
#00606A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #305290;
/* rgb */ color: rgb(48, 82, 144);
/* oklch */ color: oklch(44.5% 0.110 261.4);
Tailwind
colors: {
  custom: {
    50: '#7382b1',
    500: '#305290',
    950: '#000000',
  },
}
SCSS
$custom: #305290;
$custom-light: #7382b1;
$custom-dark: #000000;
JSON
{
  "hex": "#305290",
  "rgb": {
    "r": 48,
    "g": 82,
    "b": 144
  },
  "hsl": {
    "h": 218.75,
    "s": 50,
    "l": 37.647
  },
  "oklch": {
    "l": 0.44547,
    "c": 0.10954,
    "h": 261.4
  },
  "luminance": 0.08677
}

Semantic roles & 50–950 ramp

primary
#305290
secondary
#B59966
accent
#A84EDA
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #305290

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

Preview Lab → · Contrast checker → · Palette generator →

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