#305490#305490

#305490 is a mid, moderate blue. Relative luminance 0.090; OKLCH L 45.0% C 0.107 H 260.0°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#305490
RGBrgb(48, 84, 144)
HSLhsl(218, 50%, 38%)
HSVhsv(218, 67%, 56%)
CMYKcmyk(66.7%, 41.7%, 0%, 43.5%)
CIE-LABlab(35.95, 7.48, -37.03)
CIE-LCHlch(35.95, 37.78, 281.42°)
OKLaboklab(45.01% -0.0185 -0.1055)
OKLCHoklch(45.01% 0.107 260)
XYZxyz(9.4215, 8.9817, 27.6173)
Luminance0.0898 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305490 #906C30
analogous
#308490 #305490 #3C3090
triadic
#305490 #903054 #549030
tetradic
#305490 #903084 #906C30 #30903C
square
#305490 #903084 #906C30 #30903C
split-complementary
#305490 #903C30 #849030
monochromatic
#111E34 #213962 #305490 #3F6FBE #6C91CE

Accessibility & contrast

On white

7.51
#305490 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#305490 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305490
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305490#FFFFFF#000000##FFFFFF
##3054901.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395992
Deuteranopia (green-blind)
#2A508F
Tritanopia (blue-blind)
#00626B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #305490;
/* rgb */ color: rgb(48, 84, 144);
/* oklch */ color: oklch(45.0% 0.107 260.0);
Tailwind
colors: {
  custom: {
    50: '#7383b1',
    500: '#305490',
    950: '#000000',
  },
}
SCSS
$custom: #305490;
$custom-light: #7383b1;
$custom-dark: #000000;
JSON
{
  "hex": "#305490",
  "rgb": {
    "r": 48,
    "g": 84,
    "b": 144
  },
  "hsl": {
    "h": 217.5,
    "s": 50,
    "l": 37.647
  },
  "oklch": {
    "l": 0.45009,
    "c": 0.1071,
    "h": 260
  },
  "luminance": 0.08983
}

Semantic roles & 50–950 ramp

primary
#305490
secondary
#B59866
accent
#A54EDA
background
#F7F8FA
surface
#EDEFF5
border
#C8CACF
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #305490

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

Preview Lab → · Contrast checker → · Palette generator →

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