#305099#305099

#305099 is a dark, vivid blue. Relative luminance 0.087; OKLCH L 44.7% C 0.125 H 264.2°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#305099
RGBrgb(48, 80, 153)
HSLhsl(222, 52%, 39%)
HSVhsv(222, 69%, 60%)
CMYKcmyk(68.6%, 47.7%, 0%, 40%)
CIE-LABlab(35.33, 13.49, -43.47)
CIE-LCHlch(35.33, 45.52, 287.24°)
OKLaboklab(44.71% -0.0127 -0.1245)
OKLCHoklch(44.71% 0.125 264.2)
XYZxyz(9.8353, 8.6646, 31.2849)
Luminance0.0867 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305099 #997930
analogous
#308599 #305099 #443099
triadic
#305099 #993050 #509930
tetradic
#305099 #993085 #997930 #309944
square
#305099 #993085 #997930 #309944
split-complementary
#305099 #994430 #859930
monochromatic
#131F3C #21386A #305099 #426AC4 #718FD2

Accessibility & contrast

On white

7.68
#305099 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#305099 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305099
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305099#FFFFFF#000000##FFFFFF
##3050991.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B589C
Deuteranopia (green-blind)
#154F98
Tritanopia (blue-blind)
#00616D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #305099;
/* rgb */ color: rgb(48, 80, 153);
/* oklch */ color: oklch(44.7% 0.125 264.2);
Tailwind
colors: {
  custom: {
    50: '#7580b7',
    500: '#305099',
    950: '#000000',
  },
}
SCSS
$custom: #305099;
$custom-light: #7580b7;
$custom-dark: #000000;
JSON
{
  "hex": "#305099",
  "rgb": {
    "r": 48,
    "g": 80,
    "b": 153
  },
  "hsl": {
    "h": 221.714,
    "s": 52.239,
    "l": 39.412
  },
  "oklch": {
    "l": 0.44713,
    "c": 0.12512,
    "h": 264.2
  },
  "luminance": 0.08666
}

Semantic roles & 50–950 ramp

primary
#305099
secondary
#BAA26B
accent
#B04CDC
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #305099

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

Preview Lab → · Contrast checker → · Palette generator →

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