#305199#305199

#305199 is a dark, vivid blue. Relative luminance 0.088; OKLCH L 44.9% C 0.124 H 263.7°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#305199
RGBrgb(48, 81, 153)
HSLhsl(221, 52%, 39%)
HSVhsv(221, 69%, 60%)
CMYKcmyk(68.6%, 47.1%, 0%, 40%)
CIE-LABlab(35.62, 12.82, -43.01)
CIE-LCHlch(35.62, 44.88, 286.60°)
OKLaboklab(44.94% -0.0137 -0.1231)
OKLCHoklch(44.94% 0.124 263.7)
XYZxyz(9.9091, 8.8122, 31.3095)
Luminance0.0881 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305199 #997830
analogous
#308699 #305199 #443099
triadic
#305199 #993051 #519930
tetradic
#305199 #993086 #997830 #309944
square
#305199 #993086 #997830 #309944
split-complementary
#305199 #994430 #869930
monochromatic
#13203C #21386A #305199 #426BC4 #7190D2

Accessibility & contrast

On white

7.60
#305199 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#305199 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305199
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305199#FFFFFF#000000##FFFFFF
##3051991.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D599C
Deuteranopia (green-blind)
#184F98
Tritanopia (blue-blind)
#00626D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #305199;
/* rgb */ color: rgb(48, 81, 153);
/* oklch */ color: oklch(44.9% 0.124 263.7);
Tailwind
colors: {
  custom: {
    50: '#7581b7',
    500: '#305199',
    950: '#000000',
  },
}
SCSS
$custom: #305199;
$custom-light: #7581b7;
$custom-dark: #000000;
JSON
{
  "hex": "#305199",
  "rgb": {
    "r": 48,
    "g": 81,
    "b": 153
  },
  "hsl": {
    "h": 221.143,
    "s": 52.239,
    "l": 39.412
  },
  "oklch": {
    "l": 0.44935,
    "c": 0.12385,
    "h": 263.7
  },
  "luminance": 0.08813
}

Semantic roles & 50–950 ramp

primary
#305199
secondary
#BAA16B
accent
#AF4CDC
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #305199

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

Preview Lab → · Contrast checker → · Palette generator →

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