#305694#305694

#305694 is a mid, moderate blue. Relative luminance 0.094; OKLCH L 45.7% C 0.110 H 259.7°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#305694
RGBrgb(48, 86, 148)
HSLhsl(217, 51%, 38%)
HSVhsv(217, 68%, 58%)
CMYKcmyk(67.6%, 41.9%, 0%, 42%)
CIE-LABlab(36.78, 7.66, -38.13)
CIE-LCHlch(36.78, 38.89, 281.36°)
OKLaboklab(45.73% -0.0197 -0.1087)
OKLCHoklch(45.73% 0.11 259.7)
XYZxyz(9.8901, 9.4211, 29.3085)
Luminance0.0942 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305694 #946E30
analogous
#308894 #305694 #3C3094
triadic
#305694 #943056 #569430
tetradic
#305694 #943088 #946E30 #30943C
square
#305694 #943088 #946E30 #30943C
split-complementary
#305694 #943C30 #889430
monochromatic
#122038 #213B66 #305694 #4071C1 #6E93D0

Accessibility & contrast

On white

7.28
#305694 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#305694 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305694
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305694#FFFFFF#000000##FFFFFF
##3056941.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5C96
Deuteranopia (green-blind)
#2A5293
Tritanopia (blue-blind)
#00646E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #305694;
/* rgb */ color: rgb(48, 86, 148);
/* oklch */ color: oklch(45.7% 0.110 259.7);
Tailwind
colors: {
  custom: {
    50: '#7385b4',
    500: '#305694',
    950: '#000000',
  },
}
SCSS
$custom: #305694;
$custom-light: #7385b4;
$custom-dark: #000000;
JSON
{
  "hex": "#305694",
  "rgb": {
    "r": 48,
    "g": 86,
    "b": 148
  },
  "hsl": {
    "h": 217.2,
    "s": 51.02,
    "l": 38.431
  },
  "oklch": {
    "l": 0.45731,
    "c": 0.11046,
    "h": 259.7
  },
  "luminance": 0.09422
}

Semantic roles & 50–950 ramp

primary
#305694
secondary
#B89968
accent
#A54DDA
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #305694

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

Preview Lab → · Contrast checker → · Palette generator →

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