#305190#305190

#305190 is a dark, moderate blue. Relative luminance 0.085; OKLCH L 44.3% C 0.111 H 262.0°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#305190
RGBrgb(48, 81, 144)
HSLhsl(219, 50%, 38%)
HSVhsv(219, 67%, 56%)
CMYKcmyk(66.7%, 43.8%, 0%, 43.5%)
CIE-LABlab(35.06, 9.45, -38.46)
CIE-LCHlch(35.06, 39.60, 283.81°)
OKLaboklab(44.32% -0.0153 -0.1097)
OKLCHoklch(44.32% 0.111 262)
XYZxyz(9.1936, 8.5260, 27.5413)
Luminance0.0853 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305190 #906F30
analogous
#308190 #305190 #3F3090
triadic
#305190 #903051 #519030
tetradic
#305190 #903081 #906F30 #30903F
square
#305190 #903081 #906F30 #30903F
split-complementary
#305190 #903F30 #819030
monochromatic
#111D34 #213762 #305190 #3F6BBE #6C8ECE

Accessibility & contrast

On white

7.76
#305190 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#305190 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305190
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305190#FFFFFF#000000##FFFFFF
##3051901.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345792
Deuteranopia (green-blind)
#254E8F
Tritanopia (blue-blind)
#005F69
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #305190;
/* rgb */ color: rgb(48, 81, 144);
/* oklch */ color: oklch(44.3% 0.111 262.0);
Tailwind
colors: {
  custom: {
    50: '#7381b1',
    500: '#305190',
    950: '#000000',
  },
}
SCSS
$custom: #305190;
$custom-light: #7381b1;
$custom-dark: #000000;
JSON
{
  "hex": "#305190",
  "rgb": {
    "r": 48,
    "g": 81,
    "b": 144
  },
  "hsl": {
    "h": 219.375,
    "s": 50,
    "l": 37.647
  },
  "oklch": {
    "l": 0.44318,
    "c": 0.11079,
    "h": 262
  },
  "luminance": 0.08527
}

Semantic roles & 50–950 ramp

primary
#305190
secondary
#B59A66
accent
#AA4EDA
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #305190

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

Preview Lab → · Contrast checker → · Palette generator →

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