#304A96#304A96

#304A96 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.2% C 0.129 H 266.8°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#304A96
RGBrgb(48, 74, 150)
HSLhsl(225, 52%, 39%)
HSVhsv(225, 68%, 59%)
CMYKcmyk(68%, 50.7%, 0%, 41.2%)
CIE-LABlab(33.41, 16.36, -44.75)
CIE-LCHlch(33.41, 47.65, 290.09°)
OKLaboklab(43.18% -0.0072 -0.1283)
OKLCHoklch(43.18% 0.129 266.8)
XYZxyz(9.1708, 7.7271, 29.8564)
Luminance0.0773 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304A96 #967C30
analogous
#307D96 #304A96 #493096
triadic
#304A96 #96304A #4A9630
tetradic
#304A96 #96307D #967C30 #309649
square
#304A96 #96307D #967C30 #309649
split-complementary
#304A96 #964930 #7D9630
monochromatic
#121C39 #213368 #304A96 #4162C2 #6F88D1

Accessibility & contrast

On white

8.25
#304A96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#304A96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #304A96
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304A96#FFFFFF#000000##FFFFFF
##304A961.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205399
Deuteranopia (green-blind)
#014A94
Tritanopia (blue-blind)
#005C69
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #304a96;
/* rgb */ color: rgb(48, 74, 150);
/* oklch */ color: oklch(43.2% 0.129 266.8);
Tailwind
colors: {
  custom: {
    50: '#747cb5',
    500: '#304a96',
    950: '#000000',
  },
}
SCSS
$custom: #304a96;
$custom-light: #747cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#304a96",
  "rgb": {
    "r": 48,
    "g": 74,
    "b": 150
  },
  "hsl": {
    "h": 224.706,
    "s": 51.515,
    "l": 38.824
  },
  "oklch": {
    "l": 0.43181,
    "c": 0.12852,
    "h": 266.8
  },
  "luminance": 0.07728
}

Semantic roles & 50–950 ramp

primary
#304A96
secondary
#B9A469
accent
#B74DDB
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #304A96

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

Preview Lab → · Contrast checker → · Palette generator →

#304A96 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva