#304592#304592

#304592 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 41.8% C 0.129 H 268.8°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#304592
RGBrgb(48, 69, 146)
HSLhsl(227, 51%, 38%)
HSVhsv(227, 67%, 57%)
CMYKcmyk(67.1%, 52.7%, 0%, 42.7%)
CIE-LABlab(31.71, 18.23, -45.04)
CIE-LCHlch(31.71, 48.59, 292.03°)
OKLaboklab(41.81% -0.0028 -0.1293)
OKLCHoklch(41.81% 0.129 268.8)
XYZxyz(8.5336, 6.9592, 28.0821)
Luminance0.0696 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304592 #927D30
analogous
#307692 #304592 #4C3092
triadic
#304592 #923045 #459230
tetradic
#304592 #923076 #927D30 #30924C
square
#304592 #923076 #927D30 #30924C
split-complementary
#304592 #924C30 #769230
monochromatic
#121936 #212F64 #304592 #3F5BC0 #6D82CF

Accessibility & contrast

On white

8.78
#304592 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#304592 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #304592
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304592#FFFFFF#000000##FFFFFF
##3045921.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164F95
Deuteranopia (green-blind)
#004690
Tritanopia (blue-blind)
#005764
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #304592;
/* rgb */ color: rgb(48, 69, 146);
/* oklch */ color: oklch(41.8% 0.129 268.8);
Tailwind
colors: {
  custom: {
    50: '#7478b2',
    500: '#304592',
    950: '#000000',
  },
}
SCSS
$custom: #304592;
$custom-light: #7478b2;
$custom-dark: #000000;
JSON
{
  "hex": "#304592",
  "rgb": {
    "r": 48,
    "g": 69,
    "b": 146
  },
  "hsl": {
    "h": 227.143,
    "s": 50.515,
    "l": 38.039
  },
  "oklch": {
    "l": 0.41806,
    "c": 0.12929,
    "h": 268.8
  },
  "luminance": 0.0696
}

Semantic roles & 50–950 ramp

primary
#304592
secondary
#B7A667
accent
#BC4EDA
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #304592

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

Preview Lab → · Contrast checker → · Palette generator →

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