#304F92#304F92

#304F92 is a dark, moderate blue. Relative luminance 0.083; OKLCH L 44.0% C 0.116 H 263.6°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#304F92
RGBrgb(48, 79, 146)
HSLhsl(221, 51%, 38%)
HSVhsv(221, 67%, 57%)
CMYKcmyk(67.1%, 45.9%, 0%, 42.7%)
CIE-LABlab(34.59, 11.53, -40.42)
CIE-LCHlch(34.59, 42.03, 285.92°)
OKLaboklab(44% -0.0129 -0.1155)
OKLCHoklch(44% 0.116 263.6)
XYZxyz(9.2014, 8.2948, 28.3047)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304F92 #927330
analogous
#308092 #304F92 #423092
triadic
#304F92 #92304F #4F9230
tetradic
#304F92 #923080 #927330 #309242
square
#304F92 #923080 #927330 #309242
split-complementary
#304F92 #924230 #809230
monochromatic
#121D36 #213664 #304F92 #3F68C0 #6D8CCF

Accessibility & contrast

On white

7.90
#304F92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#304F92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #304F92
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304F92#FFFFFF#000000##FFFFFF
##304F921.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5695
Deuteranopia (green-blind)
#1D4D91
Tritanopia (blue-blind)
#005E69
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #304f92;
/* rgb */ color: rgb(48, 79, 146);
/* oklch */ color: oklch(44.0% 0.116 263.6);
Tailwind
colors: {
  custom: {
    50: '#737fb2',
    500: '#304f92',
    950: '#000000',
  },
}
SCSS
$custom: #304f92;
$custom-light: #737fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#304f92",
  "rgb": {
    "r": 48,
    "g": 79,
    "b": 146
  },
  "hsl": {
    "h": 221.02,
    "s": 50.515,
    "l": 38.039
  },
  "oklch": {
    "l": 0.44,
    "c": 0.11622,
    "h": 263.6
  },
  "luminance": 0.08296
}

Semantic roles & 50–950 ramp

primary
#304F92
secondary
#B79D67
accent
#AE4EDA
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #304F92

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

Preview Lab → · Contrast checker → · Palette generator →

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