#304F90#304F90

#304F90 is a dark, moderate blue. Relative luminance 0.082; OKLCH L 43.9% C 0.113 H 263.3°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#304F90
RGBrgb(48, 79, 144)
HSLhsl(221, 50%, 38%)
HSVhsv(221, 67%, 56%)
CMYKcmyk(66.7%, 45.1%, 0%, 43.5%)
CIE-LABlab(34.46, 10.78, -39.40)
CIE-LCHlch(34.46, 40.85, 285.30°)
OKLaboklab(43.86% -0.0132 -0.1125)
OKLCHoklch(43.86% 0.113 263.3)
XYZxyz(9.0472, 8.2331, 27.4925)
Luminance0.0823 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304F90 #907130
analogous
#307F90 #304F90 #413090
triadic
#304F90 #90304F #4F9030
tetradic
#304F90 #90307F #907130 #309041
square
#304F90 #90307F #907130 #309041
split-complementary
#304F90 #904130 #7F9030
monochromatic
#111D34 #213662 #304F90 #3F68BE #6C8CCE

Accessibility & contrast

On white

7.93
#304F90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#304F90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #304F90
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304F90#FFFFFF#000000##FFFFFF
##304F901.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305692
Deuteranopia (green-blind)
#204D8F
Tritanopia (blue-blind)
#005E68
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #304f90;
/* rgb */ color: rgb(48, 79, 144);
/* oklch */ color: oklch(43.9% 0.113 263.3);
Tailwind
colors: {
  custom: {
    50: '#737fb1',
    500: '#304f90',
    950: '#000000',
  },
}
SCSS
$custom: #304f90;
$custom-light: #737fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#304f90",
  "rgb": {
    "r": 48,
    "g": 79,
    "b": 144
  },
  "hsl": {
    "h": 220.625,
    "s": 50,
    "l": 37.647
  },
  "oklch": {
    "l": 0.43862,
    "c": 0.1133,
    "h": 263.3
  },
  "luminance": 0.08234
}

Semantic roles & 50–950 ramp

primary
#304F90
secondary
#B59C66
accent
#AD4EDA
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #304F90

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

Preview Lab → · Contrast checker → · Palette generator →

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