#305384#305384

#305384 is a dark, moderate blue. Relative luminance 0.085; OKLCH L 44.0% C 0.091 H 257.1°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#305384
RGBrgb(48, 83, 132)
HSLhsl(215, 47%, 35%)
HSVhsv(215, 64%, 52%)
CMYKcmyk(63.6%, 37.1%, 0%, 48.2%)
CIE-LABlab(34.96, 3.71, -31.27)
CIE-LCHlch(34.96, 31.49, 276.77°)
OKLaboklab(44.02% -0.0204 -0.0886)
OKLCHoklch(44.02% 0.091 257.1)
XYZxyz(8.4756, 8.4801, 23.0155)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305384 #846130
analogous
#307D84 #305384 #373084
triadic
#305384 #843053 #538430
tetradic
#305384 #84307D #846130 #308437
square
#305384 #84307D #846130 #308437
split-complementary
#305384 #843730 #7D8430
monochromatic
#0F1B2A #203757 #305384 #406FB1 #678FC8

Accessibility & contrast

On white

7.79
#305384 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#305384 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305384
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305384#FFFFFF#000000##FFFFFF
##3053841.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5786
Deuteranopia (green-blind)
#334F83
Tritanopia (blue-blind)
#005E65
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #305384;
/* rgb */ color: rgb(48, 83, 132);
/* oklch */ color: oklch(44.0% 0.091 257.1);
Tailwind
colors: {
  custom: {
    50: '#7183a8',
    500: '#305384',
    950: '#000000',
  },
}
SCSS
$custom: #305384;
$custom-light: #7183a8;
$custom-dark: #000000;
JSON
{
  "hex": "#305384",
  "rgb": {
    "r": 48,
    "g": 83,
    "b": 132
  },
  "hsl": {
    "h": 215,
    "s": 46.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.44021,
    "c": 0.09094,
    "h": 257.1
  },
  "luminance": 0.08481
}

Semantic roles & 50–950 ramp

primary
#305384
secondary
#AF8E61
accent
#9F51D6
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #305384

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

Preview Lab → · Contrast checker → · Palette generator →

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