#305296#305296

#305296 is a dark, moderate blue. Relative luminance 0.089; OKLCH L 45.0% C 0.118 H 262.6°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#305296
RGBrgb(48, 82, 150)
HSLhsl(220, 52%, 39%)
HSVhsv(220, 68%, 59%)
CMYKcmyk(68%, 45.3%, 0%, 41.2%)
CIE-LABlab(35.72, 11.04, -41.03)
CIE-LCHlch(35.72, 42.49, 285.06°)
OKLaboklab(44.95% -0.0152 -0.1173)
OKLCHoklch(44.95% 0.118 262.6)
XYZxyz(9.7393, 8.8640, 30.0459)
Luminance0.0887 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305296 #967430
analogous
#308596 #305296 #413096
triadic
#305296 #963052 #529630
tetradic
#305296 #963085 #967430 #309641
square
#305296 #963085 #967430 #309641
split-complementary
#305296 #964130 #859630
monochromatic
#121F39 #213968 #305296 #416CC2 #6F90D1

Accessibility & contrast

On white

7.57
#305296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#305296 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305296
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305296#FFFFFF#000000##FFFFFF
##3052961.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315999
Deuteranopia (green-blind)
#1F5095
Tritanopia (blue-blind)
#00626C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #305296;
/* rgb */ color: rgb(48, 82, 150);
/* oklch */ color: oklch(45.0% 0.118 262.6);
Tailwind
colors: {
  custom: {
    50: '#7482b5',
    500: '#305296',
    950: '#000000',
  },
}
SCSS
$custom: #305296;
$custom-light: #7482b5;
$custom-dark: #000000;
JSON
{
  "hex": "#305296",
  "rgb": {
    "r": 48,
    "g": 82,
    "b": 150
  },
  "hsl": {
    "h": 220,
    "s": 51.515,
    "l": 38.824
  },
  "oklch": {
    "l": 0.44951,
    "c": 0.11825,
    "h": 262.6
  },
  "luminance": 0.08865
}

Semantic roles & 50–950 ramp

primary
#305296
secondary
#B99E69
accent
#AC4DDB
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #305296

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

Preview Lab → · Contrast checker → · Palette generator →

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