#304499#304499

#304499 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.1% C 0.141 H 269.5°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#304499
RGBrgb(48, 68, 153)
HSLhsl(229, 52%, 39%)
HSVhsv(229, 69%, 60%)
CMYKcmyk(68.6%, 55.6%, 0%, 40%)
CIE-LABlab(31.95, 21.51, -48.93)
CIE-LCHlch(31.95, 53.45, 293.74°)
OKLaboklab(42.14% -0.0013 -0.1407)
OKLCHoklch(42.14% 0.141 269.5)
XYZxyz(9.0339, 7.0617, 31.0178)
Luminance0.0706 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304499 #998530
analogous
#307999 #304499 #503099
triadic
#304499 #993044 #449930
tetradic
#304499 #993079 #998530 #309950
square
#304499 #993079 #998530 #309950
split-complementary
#304499 #995030 #799930
monochromatic
#131B3C #212F6A #304499 #425BC4 #7184D2

Accessibility & contrast

On white

8.70
#304499 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#304499 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #304499
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304499#FFFFFF#000000##FFFFFF
##3044991.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509C
Deuteranopia (green-blind)
#004797
Tritanopia (blue-blind)
#005867
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #304499;
/* rgb */ color: rgb(48, 68, 153);
/* oklch */ color: oklch(42.1% 0.141 269.5);
Tailwind
colors: {
  custom: {
    50: '#7577b8',
    500: '#304499',
    950: '#000000',
  },
}
SCSS
$custom: #304499;
$custom-light: #7577b8;
$custom-dark: #000000;
JSON
{
  "hex": "#304499",
  "rgb": {
    "r": 48,
    "g": 68,
    "b": 153
  },
  "hsl": {
    "h": 228.571,
    "s": 52.239,
    "l": 39.412
  },
  "oklch": {
    "l": 0.42144,
    "c": 0.14072,
    "h": 269.5
  },
  "luminance": 0.07063
}

Semantic roles & 50–950 ramp

primary
#304499
secondary
#BAAB6B
accent
#C04CDC
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #304499

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

Preview Lab → · Contrast checker → · Palette generator →

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