#305396#305396

#305396 is a mid, moderate blue. Relative luminance 0.090; OKLCH L 45.2% C 0.117 H 262.0°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#305396
RGBrgb(48, 83, 150)
HSLhsl(219, 52%, 39%)
HSVhsv(219, 68%, 59%)
CMYKcmyk(68%, 44.7%, 0%, 41.2%)
CIE-LABlab(36.01, 10.38, -40.56)
CIE-LCHlch(36.01, 41.87, 284.35°)
OKLaboklab(45.18% -0.0162 -0.1159)
OKLCHoklch(45.18% 0.117 262)
XYZxyz(9.8153, 9.0159, 30.0712)
Luminance0.0902 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305396 #967330
analogous
#308696 #305396 #403096
triadic
#305396 #963053 #539630
tetradic
#305396 #963086 #967330 #309640
square
#305396 #963086 #967330 #309640
split-complementary
#305396 #964030 #869630
monochromatic
#122039 #213968 #305396 #416DC2 #6F91D1

Accessibility & contrast

On white

7.49
#305396 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#305396 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305396
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305396#FFFFFF#000000##FFFFFF
##3053961.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335A99
Deuteranopia (green-blind)
#225095
Tritanopia (blue-blind)
#00626D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #305396;
/* rgb */ color: rgb(48, 83, 150);
/* oklch */ color: oklch(45.2% 0.117 262.0);
Tailwind
colors: {
  custom: {
    50: '#7482b5',
    500: '#305396',
    950: '#000000',
  },
}
SCSS
$custom: #305396;
$custom-light: #7482b5;
$custom-dark: #000000;
JSON
{
  "hex": "#305396",
  "rgb": {
    "r": 48,
    "g": 83,
    "b": 150
  },
  "hsl": {
    "h": 219.412,
    "s": 51.515,
    "l": 38.824
  },
  "oklch": {
    "l": 0.45177,
    "c": 0.117,
    "h": 262
  },
  "luminance": 0.09017
}

Semantic roles & 50–950 ramp

primary
#305396
secondary
#B99D69
accent
#AA4DDB
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #305396

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

Preview Lab → · Contrast checker → · Palette generator →

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