#305A95#305A95

#305A95 is a mid, moderate blue. Relative luminance 0.101; OKLCH L 46.7% C 0.107 H 257.2°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#305A95
RGBrgb(48, 90, 149)
HSLhsl(215, 51%, 39%)
HSVhsv(215, 68%, 58%)
CMYKcmyk(67.8%, 39.6%, 0%, 41.6%)
CIE-LABlab(38.04, 5.44, -36.74)
CIE-LCHlch(38.04, 37.14, 278.42°)
OKLaboklab(46.73% -0.0237 -0.1045)
OKLCHoklch(46.73% 0.107 257.2)
XYZxyz(10.2979, 10.1096, 29.8366)
Luminance0.1011 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305A95 #956B30
analogous
#308C95 #305A95 #393095
triadic
#305A95 #95305A #5A9530
tetradic
#305A95 #95308C #956B30 #309539
square
#305A95 #95308C #956B30 #309539
split-complementary
#305A95 #953930 #8C9530
monochromatic
#122238 #213E67 #305A95 #4176C2 #6F97D1

Accessibility & contrast

On white

6.95
#305A95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#305A95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #305A95
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305A95#FFFFFF#000000##FFFFFF
##305A951.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405F97
Deuteranopia (green-blind)
#315594
Tritanopia (blue-blind)
#006870
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #305a95;
/* rgb */ color: rgb(48, 90, 149);
/* oklch */ color: oklch(46.7% 0.107 257.2);
Tailwind
colors: {
  custom: {
    50: '#7488b4',
    500: '#305a95',
    950: '#000000',
  },
}
SCSS
$custom: #305a95;
$custom-light: #7488b4;
$custom-dark: #000000;
JSON
{
  "hex": "#305a95",
  "rgb": {
    "r": 48,
    "g": 90,
    "b": 149
  },
  "hsl": {
    "h": 215.05,
    "s": 51.269,
    "l": 38.627
  },
  "oklch": {
    "l": 0.46725,
    "c": 0.10718,
    "h": 257.2
  },
  "luminance": 0.10111
}

Semantic roles & 50–950 ramp

primary
#305A95
secondary
#B89769
accent
#A04DDB
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #305A95

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

Preview Lab → · Contrast checker → · Palette generator →

#305A95 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva