#304D91#304D91

#304D91 is a dark, moderate blue. Relative luminance 0.080; OKLCH L 43.5% C 0.117 H 264.6°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#304D91
RGBrgb(48, 77, 145)
HSLhsl(222, 50%, 38%)
HSVhsv(222, 67%, 57%)
CMYKcmyk(66.9%, 46.9%, 0%, 43.1%)
CIE-LABlab(33.94, 12.48, -40.85)
CIE-LCHlch(33.94, 42.72, 286.99°)
OKLaboklab(43.48% -0.011 -0.1168)
OKLCHoklch(43.48% 0.117 264.6)
XYZxyz(8.9819, 7.9796, 27.8495)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304D91 #917430
analogous
#307D91 #304D91 #443091
triadic
#304D91 #91304D #4D9130
tetradic
#304D91 #91307D #917430 #309144
square
#304D91 #91307D #917430 #309144
split-complementary
#304D91 #914430 #7D9130
monochromatic
#121C35 #213563 #304D91 #3F65BF #6D8ACF

Accessibility & contrast

On white

8.09
#304D91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#304D91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #304D91
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304D91#FFFFFF#000000##FFFFFF
##304D911.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5594
Deuteranopia (green-blind)
#1A4C90
Tritanopia (blue-blind)
#005D68
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #304d91;
/* rgb */ color: rgb(48, 77, 145);
/* oklch */ color: oklch(43.5% 0.117 264.6);
Tailwind
colors: {
  custom: {
    50: '#737eb2',
    500: '#304d91',
    950: '#000000',
  },
}
SCSS
$custom: #304d91;
$custom-light: #737eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#304d91",
  "rgb": {
    "r": 48,
    "g": 77,
    "b": 145
  },
  "hsl": {
    "h": 222.062,
    "s": 50.259,
    "l": 37.843
  },
  "oklch": {
    "l": 0.43481,
    "c": 0.11732,
    "h": 264.6
  },
  "luminance": 0.0798
}

Semantic roles & 50–950 ramp

primary
#304D91
secondary
#B69E67
accent
#B04EDA
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #304D91

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

Preview Lab → · Contrast checker → · Palette generator →

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