#305196#305196

#305196 is a dark, moderate blue. Relative luminance 0.087; OKLCH L 44.7% C 0.120 H 263.2°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#305196
RGBrgb(48, 81, 150)
HSLhsl(221, 52%, 39%)
HSVhsv(221, 68%, 59%)
CMYKcmyk(68%, 46%, 0%, 41.2%)
CIE-LABlab(35.43, 11.70, -41.50)
CIE-LCHlch(35.43, 43.12, 285.74°)
OKLaboklab(44.73% -0.0142 -0.1187)
OKLCHoklch(44.73% 0.12 263.2)
XYZxyz(9.6644, 8.7143, 30.0210)
Luminance0.0872 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305196 #967530
analogous
#308496 #305196 #423096
triadic
#305196 #963051 #519630
tetradic
#305196 #963084 #967530 #309642
square
#305196 #963084 #967530 #309642
split-complementary
#305196 #964230 #849630
monochromatic
#121F39 #213868 #305196 #416BC2 #6F8FD1

Accessibility & contrast

On white

7.66
#305196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#305196 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305196
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305196#FFFFFF#000000##FFFFFF
##3051961.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5899
Deuteranopia (green-blind)
#1D4F95
Tritanopia (blue-blind)
#00616C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #305196;
/* rgb */ color: rgb(48, 81, 150);
/* oklch */ color: oklch(44.7% 0.120 263.2);
Tailwind
colors: {
  custom: {
    50: '#7481b5',
    500: '#305196',
    950: '#000000',
  },
}
SCSS
$custom: #305196;
$custom-light: #7481b5;
$custom-dark: #000000;
JSON
{
  "hex": "#305196",
  "rgb": {
    "r": 48,
    "g": 81,
    "b": 150
  },
  "hsl": {
    "h": 220.588,
    "s": 51.515,
    "l": 38.824
  },
  "oklch": {
    "l": 0.44726,
    "c": 0.11951,
    "h": 263.2
  },
  "luminance": 0.08715
}

Semantic roles & 50–950 ramp

primary
#305196
secondary
#B99F69
accent
#AD4DDB
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #305196

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

Preview Lab → · Contrast checker → · Palette generator →

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