#304092#304092

#304092 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.8% C 0.136 H 270.8°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#304092
RGBrgb(48, 64, 146)
HSLhsl(230, 51%, 38%)
HSVhsv(230, 67%, 57%)
CMYKcmyk(67.1%, 56.2%, 0%, 42.7%)
CIE-LABlab(30.33, 21.60, -47.29)
CIE-LCHlch(30.33, 51.98, 294.55°)
OKLaboklab(40.76% 0.002 -0.1359)
OKLCHoklch(40.76% 0.136 270.8)
XYZxyz(8.2389, 6.3697, 27.9839)
Luminance0.0637 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304092 #928230
analogous
#307192 #304092 #513092
triadic
#304092 #923040 #409230
tetradic
#304092 #923071 #928230 #309251
square
#304092 #923071 #928230 #309251
split-complementary
#304092 #925130 #719230
monochromatic
#121836 #212C64 #304092 #3F54C0 #6D7DCF

Accessibility & contrast

On white

9.23
#304092 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#304092 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #304092
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304092#FFFFFF#000000##FFFFFF
##3040921.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C95
Deuteranopia (green-blind)
#004390
Tritanopia (blue-blind)
#005462
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #304092;
/* rgb */ color: rgb(48, 64, 146);
/* oklch */ color: oklch(40.8% 0.136 270.8);
Tailwind
colors: {
  custom: {
    50: '#7474b3',
    500: '#304092',
    950: '#000000',
  },
}
SCSS
$custom: #304092;
$custom-light: #7474b3;
$custom-dark: #000000;
JSON
{
  "hex": "#304092",
  "rgb": {
    "r": 48,
    "g": 64,
    "b": 146
  },
  "hsl": {
    "h": 230.204,
    "s": 50.515,
    "l": 38.039
  },
  "oklch": {
    "l": 0.40761,
    "c": 0.13594,
    "h": 270.8
  },
  "luminance": 0.0637
}

Semantic roles & 50–950 ramp

primary
#304092
secondary
#B7AA67
accent
#C34EDA
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #304092

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

Preview Lab → · Contrast checker → · Palette generator →

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