#305993#305993

#305993 is a mid, moderate blue. Relative luminance 0.099; OKLCH L 46.4% C 0.106 H 257.3°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#305993
RGBrgb(48, 89, 147)
HSLhsl(215, 51%, 38%)
HSVhsv(215, 67%, 58%)
CMYKcmyk(67.3%, 39.5%, 0%, 42.4%)
CIE-LABlab(37.62, 5.34, -36.19)
CIE-LCHlch(37.62, 36.58, 278.40°)
OKLaboklab(46.37% -0.0231 -0.1029)
OKLCHoklch(46.37% 0.106 257.3)
XYZxyz(10.0559, 9.8787, 28.9749)
Luminance0.0988 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305993 #936A30
analogous
#308A93 #305993 #393093
triadic
#305993 #933059 #599330
tetradic
#305993 #93308A #936A30 #309339
square
#305993 #93308A #936A30 #309339
split-complementary
#305993 #933930 #8A9330
monochromatic
#122137 #213D65 #305993 #4075C1 #6E96D0

Accessibility & contrast

On white

7.06
#305993 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#305993 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305993
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305993#FFFFFF#000000##FFFFFF
##3059931.007.062.987.06
#FFFFFF7.061.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5E95
Deuteranopia (green-blind)
#315492
Tritanopia (blue-blind)
#00666F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #305993;
/* rgb */ color: rgb(48, 89, 147);
/* oklch */ color: oklch(46.4% 0.106 257.3);
Tailwind
colors: {
  custom: {
    50: '#7387b3',
    500: '#305993',
    950: '#000000',
  },
}
SCSS
$custom: #305993;
$custom-light: #7387b3;
$custom-dark: #000000;
JSON
{
  "hex": "#305993",
  "rgb": {
    "r": 48,
    "g": 89,
    "b": 147
  },
  "hsl": {
    "h": 215.152,
    "s": 50.769,
    "l": 38.235
  },
  "oklch": {
    "l": 0.46365,
    "c": 0.10551,
    "h": 257.3
  },
  "luminance": 0.0988
}

Semantic roles & 50–950 ramp

primary
#305993
secondary
#B79668
accent
#A04EDA
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #305993

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

Preview Lab → · Contrast checker → · Palette generator →

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