#305597#305597

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

Color values

HEX#305597
RGBrgb(48, 85, 151)
HSLhsl(218, 52%, 39%)
HSVhsv(218, 68%, 59%)
CMYKcmyk(68.2%, 43.7%, 0%, 40.8%)
CIE-LABlab(36.67, 9.44, -40.13)
CIE-LCHlch(36.67, 41.22, 283.23°)
OKLaboklab(45.7% -0.0181 -0.1146)
OKLCHoklch(45.7% 0.116 261)
XYZxyz(10.0514, 9.3588, 30.5489)
Luminance0.0936 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305597 #977230
analogous
#308997 #305597 #3F3097
triadic
#305597 #973055 #559730
tetradic
#305597 #973089 #977230 #30973F
square
#305597 #973089 #977230 #30973F
split-complementary
#305597 #973F30 #899730
monochromatic
#12213A #213B69 #305597 #4170C3 #7093D2

Accessibility & contrast

On white

7.31
#305597 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#305597 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305597
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305597#FFFFFF#000000##FFFFFF
##3055971.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365B9A
Deuteranopia (green-blind)
#255296
Tritanopia (blue-blind)
#00646E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #305597;
/* rgb */ color: rgb(48, 85, 151);
/* oklch */ color: oklch(45.7% 0.116 261.0);
Tailwind
colors: {
  custom: {
    50: '#7484b6',
    500: '#305597',
    950: '#000000',
  },
}
SCSS
$custom: #305597;
$custom-light: #7484b6;
$custom-dark: #000000;
JSON
{
  "hex": "#305597",
  "rgb": {
    "r": 48,
    "g": 85,
    "b": 151
  },
  "hsl": {
    "h": 218.447,
    "s": 51.759,
    "l": 39.02
  },
  "oklch": {
    "l": 0.45699,
    "c": 0.11598,
    "h": 261
  },
  "luminance": 0.0936
}

Semantic roles & 50–950 ramp

primary
#305597
secondary
#B99D6A
accent
#A84DDB
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #305597

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

Preview Lab → · Contrast checker → · Palette generator →

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