#305696#305696

#305696 is a mid, moderate blue. Relative luminance 0.095; OKLCH L 45.9% C 0.113 H 260.2°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#305696
RGBrgb(48, 86, 150)
HSLhsl(218, 52%, 39%)
HSVhsv(218, 68%, 59%)
CMYKcmyk(68%, 42.7%, 0%, 41.2%)
CIE-LABlab(36.90, 8.41, -39.15)
CIE-LCHlch(36.90, 40.04, 282.12°)
OKLaboklab(45.86% -0.0193 -0.1117)
OKLCHoklch(45.86% 0.113 260.2)
XYZxyz(10.0498, 9.4850, 30.1494)
Luminance0.0949 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305696 #967030
analogous
#308996 #305696 #3D3096
triadic
#305696 #963056 #569630
tetradic
#305696 #963089 #967030 #30963D
square
#305696 #963089 #967030 #30963D
split-complementary
#305696 #963D30 #899630
monochromatic
#122139 #213B68 #305696 #4171C2 #6F94D1

Accessibility & contrast

On white

7.25
#305696 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#305696 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305696
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305696#FFFFFF#000000##FFFFFF
##3056961.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385C98
Deuteranopia (green-blind)
#285295
Tritanopia (blue-blind)
#00656E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #305696;
/* rgb */ color: rgb(48, 86, 150);
/* oklch */ color: oklch(45.9% 0.113 260.2);
Tailwind
colors: {
  custom: {
    50: '#7485b5',
    500: '#305696',
    950: '#000000',
  },
}
SCSS
$custom: #305696;
$custom-light: #7485b5;
$custom-dark: #000000;
JSON
{
  "hex": "#305696",
  "rgb": {
    "r": 48,
    "g": 86,
    "b": 150
  },
  "hsl": {
    "h": 217.647,
    "s": 51.515,
    "l": 38.824
  },
  "oklch": {
    "l": 0.45862,
    "c": 0.11332,
    "h": 260.2
  },
  "luminance": 0.09486
}

Semantic roles & 50–950 ramp

primary
#305696
secondary
#B99B69
accent
#A64DDB
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #305696

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

Preview Lab → · Contrast checker → · Palette generator →

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