#305690#305690

#305690 is a mid, moderate blue. Relative luminance 0.093; OKLCH L 45.5% C 0.105 H 258.6°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#305690
RGBrgb(48, 86, 144)
HSLhsl(216, 50%, 38%)
HSVhsv(216, 67%, 56%)
CMYKcmyk(66.7%, 40.3%, 0%, 43.5%)
CIE-LABlab(36.55, 6.18, -36.08)
CIE-LCHlch(36.55, 36.60, 279.72°)
OKLaboklab(45.47% -0.0207 -0.1027)
OKLCHoklch(45.47% 0.105 258.6)
XYZxyz(9.5790, 9.2966, 27.6698)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305690 #906A30
analogous
#308690 #305690 #3A3090
triadic
#305690 #903056 #569030
tetradic
#305690 #903086 #906A30 #30903A
square
#305690 #903086 #906A30 #30903A
split-complementary
#305690 #903A30 #869030
monochromatic
#111F34 #213B62 #305690 #3F71BE #6C93CE

Accessibility & contrast

On white

7.34
#305690 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#305690 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305690
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305690#FFFFFF#000000##FFFFFF
##3056901.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5B92
Deuteranopia (green-blind)
#2E528F
Tritanopia (blue-blind)
#00636C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #305690;
/* rgb */ color: rgb(48, 86, 144);
/* oklch */ color: oklch(45.5% 0.105 258.6);
Tailwind
colors: {
  custom: {
    50: '#7385b1',
    500: '#305690',
    950: '#000000',
  },
}
SCSS
$custom: #305690;
$custom-light: #7385b1;
$custom-dark: #000000;
JSON
{
  "hex": "#305690",
  "rgb": {
    "r": 48,
    "g": 86,
    "b": 144
  },
  "hsl": {
    "h": 216.25,
    "s": 50,
    "l": 37.647
  },
  "oklch": {
    "l": 0.45474,
    "c": 0.10472,
    "h": 258.6
  },
  "luminance": 0.09298
}

Semantic roles & 50–950 ramp

primary
#305690
secondary
#B59666
accent
#A24EDA
background
#F7F8FA
surface
#EDEFF5
border
#C8CACF
text
#090B10
muted
#7B7C7F

Preview Lab

Preview with #305690

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

Preview Lab → · Contrast checker → · Palette generator →

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