#305494#305494

#305494 is a mid, moderate blue. Relative luminance 0.091; OKLCH L 45.3% C 0.113 H 261.0°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#305494
RGBrgb(48, 84, 148)
HSLhsl(218, 51%, 38%)
HSVhsv(218, 68%, 58%)
CMYKcmyk(67.6%, 43.2%, 0%, 42%)
CIE-LABlab(36.19, 8.97, -39.08)
CIE-LCHlch(36.19, 40.09, 282.93°)
OKLaboklab(45.27% -0.0176 -0.1115)
OKLCHoklch(45.27% 0.113 261)
XYZxyz(9.7326, 9.1062, 29.2560)
Luminance0.0911 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305494 #947030
analogous
#308694 #305494 #3E3094
triadic
#305494 #943054 #549430
tetradic
#305494 #943086 #947030 #30943E
square
#305494 #943086 #947030 #30943E
split-complementary
#305494 #943E30 #869430
monochromatic
#122038 #213A66 #305494 #406FC1 #6E92D0

Accessibility & contrast

On white

7.44
#305494 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#305494 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305494
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305494#FFFFFF#000000##FFFFFF
##3054941.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365A96
Deuteranopia (green-blind)
#265193
Tritanopia (blue-blind)
#00636C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #305494;
/* rgb */ color: rgb(48, 84, 148);
/* oklch */ color: oklch(45.3% 0.113 261.0);
Tailwind
colors: {
  custom: {
    50: '#7383b4',
    500: '#305494',
    950: '#000000',
  },
}
SCSS
$custom: #305494;
$custom-light: #7383b4;
$custom-dark: #000000;
JSON
{
  "hex": "#305494",
  "rgb": {
    "r": 48,
    "g": 84,
    "b": 148
  },
  "hsl": {
    "h": 218.4,
    "s": 51.02,
    "l": 38.431
  },
  "oklch": {
    "l": 0.45271,
    "c": 0.11288,
    "h": 261
  },
  "luminance": 0.09107
}

Semantic roles & 50–950 ramp

primary
#305494
secondary
#B89B68
accent
#A84DDA
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #305494

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

Preview Lab → · Contrast checker → · Palette generator →

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