#304E92#304E92

#304E92 is a dark, moderate blue. Relative luminance 0.082; OKLCH L 43.8% C 0.117 H 264.2°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#304E92
RGBrgb(48, 78, 146)
HSLhsl(222, 51%, 38%)
HSVhsv(222, 67%, 57%)
CMYKcmyk(67.1%, 46.6%, 0%, 42.7%)
CIE-LABlab(34.30, 12.19, -40.89)
CIE-LCHlch(34.30, 42.67, 286.60°)
OKLaboklab(43.78% -0.0118 -0.1169)
OKLCHoklch(43.78% 0.118 264.2)
XYZxyz(9.1298, 8.1516, 28.2808)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304E92 #927430
analogous
#307F92 #304E92 #433092
triadic
#304E92 #92304E #4E9230
tetradic
#304E92 #92307F #927430 #309243
square
#304E92 #92307F #927430 #309243
split-complementary
#304E92 #924330 #7F9230
monochromatic
#121D36 #213564 #304E92 #3F67C0 #6D8BCF

Accessibility & contrast

On white

7.98
#304E92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#304E92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #304E92
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304E92#FFFFFF#000000##FFFFFF
##304E921.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #304e92;
/* rgb */ color: rgb(48, 78, 146);
/* oklch */ color: oklch(43.8% 0.117 264.2);
Tailwind
colors: {
  custom: {
    50: '#737fb2',
    500: '#304e92',
    950: '#000000',
  },
}
SCSS
$custom: #304e92;
$custom-light: #737fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#304e92",
  "rgb": {
    "r": 48,
    "g": 78,
    "b": 146
  },
  "hsl": {
    "h": 221.633,
    "s": 50.515,
    "l": 38.039
  },
  "oklch": {
    "l": 0.43775,
    "c": 0.1175,
    "h": 264.2
  },
  "luminance": 0.08152
}

Semantic roles & 50–950 ramp

primary
#304E92
secondary
#B79E67
accent
#AF4EDA
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #304E92

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

Preview Lab → · Contrast checker → · Palette generator →

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