#305693#305693

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

Color values

HEX#305693
RGBrgb(48, 86, 147)
HSLhsl(217, 51%, 38%)
HSVhsv(217, 67%, 58%)
CMYKcmyk(67.3%, 41.5%, 0%, 42.4%)
CIE-LABlab(36.72, 7.29, -37.62)
CIE-LCHlch(36.72, 38.32, 280.97°)
OKLaboklab(45.67% -0.02 -0.1072)
OKLCHoklch(45.67% 0.109 259.5)
XYZxyz(9.8113, 9.3896, 28.8934)
Luminance0.0939 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305693 #936D30
analogous
#308793 #305693 #3C3093
triadic
#305693 #933056 #569330
tetradic
#305693 #933087 #936D30 #30933C
square
#305693 #933087 #936D30 #30933C
split-complementary
#305693 #933C30 #879330
monochromatic
#122037 #213B65 #305693 #4071C1 #6E93D0

Accessibility & contrast

On white

7.30
#305693 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #305693
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305693#FFFFFF#000000##FFFFFF
##3056931.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5B95
Deuteranopia (green-blind)
#2B5292
Tritanopia (blue-blind)
#00646D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #305693;
/* rgb */ color: rgb(48, 86, 147);
/* oklch */ color: oklch(45.7% 0.109 259.5);
Tailwind
colors: {
  custom: {
    50: '#7385b3',
    500: '#305693',
    950: '#000000',
  },
}
SCSS
$custom: #305693;
$custom-light: #7385b3;
$custom-dark: #000000;
JSON
{
  "hex": "#305693",
  "rgb": {
    "r": 48,
    "g": 86,
    "b": 147
  },
  "hsl": {
    "h": 216.97,
    "s": 50.769,
    "l": 38.235
  },
  "oklch": {
    "l": 0.45666,
    "c": 0.10902,
    "h": 259.5
  },
  "luminance": 0.09391
}

Semantic roles & 50–950 ramp

primary
#305693
secondary
#B79968
accent
#A44EDA
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #305693

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

Preview Lab → · Contrast checker → · Palette generator →

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