#305890#305890

#305890 is a mid, moderate blue. Relative luminance 0.096; OKLCH L 45.9% C 0.102 H 257.1°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#305890
RGBrgb(48, 88, 144)
HSLhsl(215, 50%, 38%)
HSVhsv(215, 67%, 56%)
CMYKcmyk(66.7%, 38.9%, 0%, 43.5%)
CIE-LABlab(37.15, 4.88, -35.12)
CIE-LCHlch(37.15, 35.46, 277.91°)
OKLaboklab(45.94% -0.0228 -0.0998)
OKLCHoklch(45.94% 0.102 257.1)
XYZxyz(9.7409, 9.6205, 27.7237)
Luminance0.0962 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305890 #906830
analogous
#308890 #305890 #383090
triadic
#305890 #903058 #589030
tetradic
#305890 #903088 #906830 #309038
square
#305890 #903088 #906830 #309038
split-complementary
#305890 #903830 #889030
monochromatic
#112034 #213C62 #305890 #3F74BE #6C95CE

Accessibility & contrast

On white

7.18
#305890 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#305890 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305890
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305890#FFFFFF#000000##FFFFFF
##3058901.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5C92
Deuteranopia (green-blind)
#31538F
Tritanopia (blue-blind)
#00656D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #305890;
/* rgb */ color: rgb(48, 88, 144);
/* oklch */ color: oklch(45.9% 0.102 257.1);
Tailwind
colors: {
  custom: {
    50: '#7386b1',
    500: '#305890',
    950: '#000000',
  },
}
SCSS
$custom: #305890;
$custom-light: #7386b1;
$custom-dark: #000000;
JSON
{
  "hex": "#305890",
  "rgb": {
    "r": 48,
    "g": 88,
    "b": 144
  },
  "hsl": {
    "h": 215,
    "s": 50,
    "l": 37.647
  },
  "oklch": {
    "l": 0.45943,
    "c": 0.1024,
    "h": 257.1
  },
  "luminance": 0.09621
}

Semantic roles & 50–950 ramp

primary
#305890
secondary
#B59466
accent
#A04EDA
background
#F7F8FA
surface
#EDEFF5
border
#C8CACF
text
#090B10
muted
#7B7C7F

Preview Lab

Preview with #305890

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

Preview Lab → · Contrast checker → · Palette generator →

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