#304292#304292

#304292 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.2% C 0.133 H 270.0°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#304292
RGBrgb(48, 66, 146)
HSLhsl(229, 51%, 38%)
HSVhsv(229, 67%, 57%)
CMYKcmyk(67.1%, 54.8%, 0%, 42.7%)
CIE-LABlab(30.88, 20.25, -46.39)
CIE-LCHlch(30.88, 50.62, 293.58°)
OKLaboklab(41.18% 0.0001 -0.1333)
OKLCHoklch(41.18% 0.133 270)
XYZxyz(8.3537, 6.5994, 28.0221)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304292 #928030
analogous
#307392 #304292 #4F3092
triadic
#304292 #923042 #429230
tetradic
#304292 #923073 #928030 #30924F
square
#304292 #923073 #928030 #30924F
split-complementary
#304292 #924F30 #739230
monochromatic
#121836 #212D64 #304292 #3F57C0 #6D7FCF

Accessibility & contrast

On white

9.05
#304292 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#304292 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #304292
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304292#FFFFFF#000000##FFFFFF
##3042921.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4D95
Deuteranopia (green-blind)
#004490
Tritanopia (blue-blind)
#005563
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #304292;
/* rgb */ color: rgb(48, 66, 146);
/* oklch */ color: oklch(41.2% 0.133 270.0);
Tailwind
colors: {
  custom: {
    50: '#7476b3',
    500: '#304292',
    950: '#000000',
  },
}
SCSS
$custom: #304292;
$custom-light: #7476b3;
$custom-dark: #000000;
JSON
{
  "hex": "#304292",
  "rgb": {
    "r": 48,
    "g": 66,
    "b": 146
  },
  "hsl": {
    "h": 228.98,
    "s": 50.515,
    "l": 38.039
  },
  "oklch": {
    "l": 0.41175,
    "c": 0.13328,
    "h": 270
  },
  "luminance": 0.066
}

Semantic roles & 50–950 ramp

primary
#304292
secondary
#B7A867
accent
#C04EDA
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #304292

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

Preview Lab → · Contrast checker → · Palette generator →

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